Epsilon101
Programmer
Hi
I have a table called TblAdminDetails with lots of fields the only ones i need to explain are the foreign key in the table which is Customer ID and the primary key AdmCustomerID.
This table is linked to TblLeadInfo via the foreign key as would be expected. TblLeadInfo holds the main customer Info things like the name.
AdmCustomerID holds information that is keyed in later for the customer.
I have a form where you enter in the main customer info that goes into TblLeadInfo and when the new record is saved and the customerID is then created instead of being an autonumber , i want that number to be inputted into the AdmCustomerID table at the same time.
How can i do this?? I was thinking maybe recordsets, or an append sql statement or something but i dont know the correct syntax.
Can someone help please
Thanks to anyone who answers
---------------------------------------
If God is a DJ, Life is the dancefloor, we are the music, then who are the dancers??
.........
Neil
I have a table called TblAdminDetails with lots of fields the only ones i need to explain are the foreign key in the table which is Customer ID and the primary key AdmCustomerID.
This table is linked to TblLeadInfo via the foreign key as would be expected. TblLeadInfo holds the main customer Info things like the name.
AdmCustomerID holds information that is keyed in later for the customer.
I have a form where you enter in the main customer info that goes into TblLeadInfo and when the new record is saved and the customerID is then created instead of being an autonumber , i want that number to be inputted into the AdmCustomerID table at the same time.
How can i do this?? I was thinking maybe recordsets, or an append sql statement or something but i dont know the correct syntax.
Can someone help please
Thanks to anyone who answers
---------------------------------------
If God is a DJ, Life is the dancefloor, we are the music, then who are the dancers??
.........
Neil