mike60smart
Registered User.
- Local time
- Today, 21:08
- Joined
- Aug 6, 2017
- Messages
- 1,994
Hi Everyone
I have an Unbound Main Form with a Combobox which allows the user to select a record from a list of Imported data.
On The After Update of the Combobox it runs an Append Query to append the selected Record to the Required Table.
It also requeries a Continuous Form bound to the table.
What I want to happen is when the Continuous Form is requeried I want the Control "LoadNumber" to increment by 1
Where would I place the following Code in the Subform?
Any help appreciated
I have an Unbound Main Form with a Combobox which allows the user to select a record from a list of Imported data.
On The After Update of the Combobox it runs an Append Query to append the selected Record to the Required Table.
It also requeries a Continuous Form bound to the table.
What I want to happen is when the Continuous Form is requeried I want the Control "LoadNumber" to increment by 1
Where would I place the following Code in the Subform?
Code:
Me.LoadNumber = Nz(DMax("LoadNumber","Loads"),0) + 1
Any help appreciated