I'm putting together a database to store my client and billing details and for generating invoices.
I have a form for viewing clients called 'frmClients' and on the form I have a combo box called 'comboClientName'. This is how it should work;
The form is opened and it displays the first record.
The field 'ClientName' should be displayed for the current record in the combo box.
To go to another record, the combo box should be used to choose the client name.
I'm having difficulty putting together the code for the combo box though. I know it should be an 'AfterUpdate' event and the DoCmd.GoToRecord action should be used, but how to it all to work properly?
I have a form for viewing clients called 'frmClients' and on the form I have a combo box called 'comboClientName'. This is how it should work;
The form is opened and it displays the first record.
The field 'ClientName' should be displayed for the current record in the combo box.
To go to another record, the combo box should be used to choose the client name.
I'm having difficulty putting together the code for the combo box though. I know it should be an 'AfterUpdate' event and the DoCmd.GoToRecord action should be used, but how to it all to work properly?