L
Leo
I have a database with several tables (tblONE, tblTWO,...)
Table tblONE serves as source for frmONE which is the first form the user
enters the data. All tables except tblONE (and therefore all the forms except
frmONE) have an AutoNumber fields as TWOid, THREEid etc. The tblONE,
instead, has a field called [Account_Number] which is an autonumber field
(formatted as LongInteger). All other tables also have a field called
[Account_Number] formatted as LongInteger. All the table have established
relationship to tblONE.
When the user enters new information in a blank frmONE the auto number
generated in tblONE serves as the clients AccountNumber. When another related
form is open the user has to enter Account_Number manually. And the subform
in those forms bring other pertinent data from tblONE.
What will be the Sql code and where will I enter it, so that when frmONE is
completed and the user closes it the autonumber generated in the
[Account_Number] will automatically entered into all other tables as new
records?
Thanks
Leo
Table tblONE serves as source for frmONE which is the first form the user
enters the data. All tables except tblONE (and therefore all the forms except
frmONE) have an AutoNumber fields as TWOid, THREEid etc. The tblONE,
instead, has a field called [Account_Number] which is an autonumber field
(formatted as LongInteger). All other tables also have a field called
[Account_Number] formatted as LongInteger. All the table have established
relationship to tblONE.
When the user enters new information in a blank frmONE the auto number
generated in tblONE serves as the clients AccountNumber. When another related
form is open the user has to enter Account_Number manually. And the subform
in those forms bring other pertinent data from tblONE.
What will be the Sql code and where will I enter it, so that when frmONE is
completed and the user closes it the autonumber generated in the
[Account_Number] will automatically entered into all other tables as new
records?
Thanks
Leo