Hi Guys,
Hoping one of the experts can help me with this ... it's a bit of a curly one (for me anyways)
Basically, I am trying to make a form which has 4 fields on it that will populate the corresponding 4 fields in my received_files_table 'on click' using a command button. So the idea is to have the 4 fields in the form populated with data, then once the user selects on the command button the code runs and inputs the data into my received_files_table.
I have been able to get the command button to work with only one field in the form which goes to my example table (shown below in green), however, I need to get it so that all 4 fields (shown below in red) input data into the received_files_table via only 1 command button.
I have managed to get the dummy data into the example table using the below code, however, I need help to write a code which works using all 4 fields in the form.
As you can see the expression is - DoCmd.RunSQL "INSERT INTO example VALUES ([Combo26].Value)"
The field names I need the new code to use are - Received_Date ; IATA_Code ; Processing_ Month ; Airline
The corresponding table for these fields is called - received_files_table
Thanks