I have a form containing fields from two tables (#1 is my main table, #2 is a one-to-many linked on Cust_ID). The form populates properly when I run through the records using the "next record" selector at the bottom.
I added a Combo Box at the top to select the record to display. It searches on the [Customer] field , and when I scroll down through the list and select a customer it populates the form correctly. I've also added a toggle button in the Form Header that moves the cursor back to the Combo Box control so the I can select another record. It works fine.
However, when I first open the form, it is populated with the data for the first record in Table #1 even though the combo box has no selection showing. I'd like it to pull up a blank form instead when opening the form. Also, I know the tables are updated instananeously when making changes via the form but am wondering if there is a way to hold the data and update all at once, e.g. on clicking a "save" button.
I'd like the form to be used for bringing up existing records and making changes to their data, and ideally also for entering new records. Right now I have two copies of the form, one with Data Entry=Yes and the other with DE=No.
I've looked all over the internet, tried various bits of code for the combo box, changed things from bound to unbound, and called various types of Event macros and got errors or the wrong results, and I'm so confused now that I need to just start from scratch with some clear instructions. Can anyone help me out?