I am currently working on a database to keep track of accounts, invoices for accounts, techs assigned and contacts. So far I have my SiteInfo table, SiteContacts and SiteEquip. My primary key field for the site is SiteID. The other tables have there own ID field and the SiteID to tie them together. MY relationships are set up as one-to-many from the SiteInfo to the other two tables SiteID field. My contacts primary key is called ContactID and equipment table is EID.
I created a form to add/view the contacts off of a query called qContactList. The query contains the SiteInfo table and Contact table. I want to add one button called New Contact and I want to use a combo box to select the site ID and enter it in the SiteID field in the contact table. I want to have the combo box hidden when in edit mode, just looking at the list, and create a button that will go to a new record and make the combo box visible for new records only. Then would like to have create a save/new button for the purpose of adding more. Then just a save button that will make the combo box hidden and go back to edit mode to see all records.
I know this is a lot to ask but my vba skills though getting better thanks to all you guys but they are still limited.
Thanks in advance for your responses.
Thanks!
V