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 / April 2008

Tip: Looking for answers? Try searching our database.

Record # shown in the navigational buttons

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zortact - 23 Apr 2008 04:30 GMT
I am using Access 2003 to build a database that stores information for every
intubation performed on patients.  I use a subform in a main form to capture
the information for each intubation that is performed.  For example, on the
main form I have patient A's demographics.  I then enter the first set of
intubation information for patient A in the subform.  If the intubation was
unsuccessful then I need to perform a 2nd attempt on patient A, so I click
the navigational button on the subform to move to the 2nd record and so on.

I move to a new record on the main form for patient B and repeat the above
steps.

Is it possible to store the record # that is displayed by the navigational
button on the subform, to my table?  I need to report how many 1st, attempts,
2nd attempts, 3rd attempts etc. are done on each patient.

I have some Access programming experience and would appreciate any help out
there, or a better suggestions that what I have created.

Thanks, Michael
boblarson - 23 Apr 2008 07:46 GMT
Michael:

The "record number" that is shown in the navigation buttons really have no
meaning whatsoever outside of the current session that you have.  Access does
not store the records in any meaningful order, but they can be displayed in a
consistent order IF you assign a way to do it.  You can set an autonumber
primary key but autonumbers can actually skip around as they only really
guarantee a unique number.  

The best way is to include a date/time stamp (date and time in ONE field) at
the time your record is created.  That way you can have the form display
based on a query with the sort on the date/time created.

Signature

Bob Larson
Access World Forums Super Moderator

Tutorials at http://www.btabdevelopment.com

__________________________________

> I am using Access 2003 to build a database that stores information for every
> intubation performed on patients.  I use a subform in a main form to capture
[quoted text clipped - 15 lines]
>
> Thanks, Michael
 
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.