KingRudeDog
Registered User.
- Local time
- Today, 18:53
- Joined
- May 12, 2006
- Messages
- 36
okay guys, this is more of a vba question.
I have a textbox [txtRequestNumber] on a form which is anchored to a table from which it pulls the data. After the primary key, this is the main record tracer of my db.
What is the sytax, so that when the form [frmMainForm] is opened to a new record (on open) so that Access grabs the last [RequestNumber] from that table [tblTestRequest] and adds 1 to it.......so that users don't have to write it in themselves, but it auto generates.
a [n = n+1] type thing.
I love my dog. My wife is jealous.
I have a textbox [txtRequestNumber] on a form which is anchored to a table from which it pulls the data. After the primary key, this is the main record tracer of my db.
What is the sytax, so that when the form [frmMainForm] is opened to a new record (on open) so that Access grabs the last [RequestNumber] from that table [tblTestRequest] and adds 1 to it.......so that users don't have to write it in themselves, but it auto generates.
a [n = n+1] type thing.
I love my dog. My wife is jealous.