MS Access - force new record to be created in underlying table
#1
MS Access - force new record to be created in underlying table
I have a form with an underlying table
I open the form ready to key in a new record and the autonumber key field is showing (autonumber) eg. it hasn't created the record in the underlying table yet.
Is there a way to force that new record to be created before anyone has typed into the form's control boxes ?
Thanks in advance
edited to add: I need to program this to occur using the underlying VB in Access
I open the form ready to key in a new record and the autonumber key field is showing (autonumber) eg. it hasn't created the record in the underlying table yet.
Is there a way to force that new record to be created before anyone has typed into the form's control boxes ?
Thanks in advance
edited to add: I need to program this to occur using the underlying VB in Access
#2
Scooby Regular
Join Date: Sep 2001
Location: A powerslide near you
Posts: 10,261
Likes: 0
Received 0 Likes
on
0 Posts
Out of interest, why do you want this to happen?
Use the vb to save the recordset. Of course you need to ensure any primary/foreign keys etc are populated and so on.
Use the vb to save the recordset. Of course you need to ensure any primary/foreign keys etc are populated and so on.
Thread
Thread Starter
Forum
Replies
Last Post
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM