Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / September 2007

Tip: Looking for answers? Try searching our database.

New record being added

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
urbano - 11 Sep 2007 17:14 GMT
When I am going thru my records in a form, I get to the end of the
records(the last record) and usually it would have a blank primary key. But
not anymore, it creates a new number since the primary key is AutoNumber. I
created a VB procedure in the On Current property, would that be the reason?
How can I avoid this? Is there a way to stop the user to going to the New
Record?

Thanks
Chris Reveille - 11 Sep 2007 17:48 GMT
If you do not want the use to add new records set Allow additions to NO
Signature

Chris

> When I am going thru my records in a form, I get to the end of the
> records(the last record) and usually it would have a blank primary key. But
[quoted text clipped - 4 lines]
>
> Thanks
SteveM - 11 Sep 2007 17:50 GMT
What is the code in your OnCurrent event procedure?

Steve

> When I am going thru my records in a form, I get to the end of the
> records(the last record) and usually it would have a blank primary key. But
[quoted text clipped - 4 lines]
>
> Thanks
urbano - 11 Sep 2007 18:10 GMT
Thanks for your response. The code was actually populating a field which was
making the autonumber react. I took that off and now it is ok.

Thanks

> What is the code in your OnCurrent event procedure?
>
[quoted text clipped - 8 lines]
> >
> > Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.