G
Guest
I've recently upgradded to Access 2007. I've created a form that is attached
to a single table with no relationships. I have an Account Number field
(text, indexed, no duplicates) that I've written code to increment. I call
this code when the "NEW" button is clicked (onClick event) as follows:
Me.DataEntry = True
DoCmd.GoToRecord ,, acNewRec
Me.acct_no = <VBA CODE>
But I get the proverbial "can't go to record" error!!! I've been at it all
day and I think I need another pair of eyes. By the way, this table DOES NOT
have a primary key.
Thanks for any help...
to a single table with no relationships. I have an Account Number field
(text, indexed, no duplicates) that I've written code to increment. I call
this code when the "NEW" button is clicked (onClick event) as follows:
Me.DataEntry = True
DoCmd.GoToRecord ,, acNewRec
Me.acct_no = <VBA CODE>
But I get the proverbial "can't go to record" error!!! I've been at it all
day and I think I need another pair of eyes. By the way, this table DOES NOT
have a primary key.
Thanks for any help...