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 / March 2007

Tip: Looking for answers? Try searching our database.

Adding 1 to a number

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Garabed - 06 Mar 2007 03:32 GMT
i have a table with the following fields autonumber mnumber ,fname,
lname, etc. i need to find the last number entered in the table and
add 1 to it. I tried using dmax mnumber +1 but it finds the higest
value in mnumber and then adds 1 to it every time the user submits the
form.
what i need to happen is everytime the user opens the form it dispalys
the mnumber +1 for the last record entered. if they wish to continue
using that sequence they can but if they need to change it it will
increment according to the new sequence they enter. I hope this makes
sense.
tina - 06 Mar 2007 03:41 GMT
you already posted this question in microsoft.public.access.queries a half
hour earlier. please don't multipost. for more information, see
http://home.att.net/~california.db/tips.html#aTip10

> i have a table with the following fields autonumber mnumber ,fname,
> lname, etc. i need to find the last number entered in the table and
[quoted text clipped - 6 lines]
> increment according to the new sequence they enter. I hope this makes
> sense.
Garabed - 06 Mar 2007 20:48 GMT
> you already posted this question in microsoft.public.access.queries a half
> hour earlier. please don't multipost. for more information, seehttp://home.att.net/~california.db/tips.html#aTip10
[quoted text clipped - 11 lines]
>
> - Show quoted text -

Sorry i realized i posted it in the wrong place. Wont happen again.
 
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.