473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Form counter starts over when closed and reopened

I am making a very simple database in which a single split form updates a few different tables. A lab tech will enter sample details for one table, test result details for another, and sample treatment details for a third. The tables are all linked by unique sample IDs.

When the tech opens Access, the entry form loads but the counter starts over at "1 of 1". They cannot navigate to existing records in the database. The counter continues to count up as they enter data, and they can go back and select records created during that session to edit or review at any time. Once they close the form or close Access, it all starts over.

Note that the records themselves still exist. One can get to the information by loading up the appropriate tables, but the form will not permit one to navigate to records created before the session started to edit them or just view them in the form. How can I make the form load up existing records when it is opened and continue from where the previous session left off?
Jan 28 '14 #1
4 1061
Rabbit
12,516 Expert Mod 8TB
The form probably has the Data Entry property set to yes. This puts the form in new data entry mode only. Meaning you can only add new records and modify records added since the form was opened.
Jan 28 '14 #2
Nope, already checked that. Data Entry is set to "no"
Jan 28 '14 #3
ADezii
8,834 Expert 8TB
Kindy Post the Record Source for the Form.
Jan 29 '14 #4
Expand|Select|Wrap|Line Numbers
  1. SELECT [AA - Sample ID].ID
  2.    , [AA - Sample ID].Bowl
  3.    , [BA - Sand Mass].Mass
  4.    , [CA - PRC Novalac].Mass
  5.    , [CA - PRC Novalac].Time
  6.    , [CB - PRC Hexa].Mass
  7.    , [CB - PRC Hexa].Time
  8.    , [CC - PRC Quench].Mass
  9.    , [CC - PRC Quench].Time
  10.    , [DA - CRC Novalac].Mass
  11.    , [DA - CRC Novalac].Time
  12.    , [DB - CRC Resol].Mass
  13.    , [DB - CRC Resol].Time
  14.    , [DC - CRC Hexa].Mass
  15.    , [DC - CRC Hexa].Time
  16.    , [DD - CRC Quench].Mass
  17.    , [DD - CRC Quench].Time
  18.    , [EA - Siloxane].Mass
  19.    , [EA - Siloxane].Time
  20.    , [EB - Chembetaine].Mass
  21.    , [EB - Chembetaine].Time
  22.    , [EC - Drop Quench].Mass
  23.    , [EC - Drop Quench].Time
  24. FROM (((((((((([AA - Sample ID] 
  25.    INNER JOIN [BA - Sand Mass] 
  26.       ON [AA - Sample ID].ID = [BA - Sand Mass].ID) 
  27.    INNER JOIN [CA - PRC Novalac] 
  28.       ON [AA - Sample ID].ID = [CA - PRC Novalac].ID) 
  29.    INNER JOIN [CB - PRC Hexa] 
  30.       ON [AA - Sample ID].ID = [CB - PRC Hexa].ID) 
  31.    INNER JOIN [CC - PRC Quench] 
  32.       ON [AA - Sample ID].ID = [CC - PRC Quench].ID) 
  33.    INNER JOIN [DA - CRC Novalac] 
  34.       ON [AA - Sample ID].ID = [DA - CRC Novalac].ID) 
  35.    INNER JOIN [DB - CRC Resol] 
  36.       ON [AA - Sample ID].ID = [DB - CRC Resol].ID) 
  37.    INNER JOIN [DC - CRC Hexa] 
  38.       ON [AA - Sample ID].ID = [DC - CRC Hexa].ID) 
  39.    INNER JOIN [DD - CRC Quench] 
  40.       ON [AA - Sample ID].ID = [DD - CRC Quench].ID) 
  41.    INNER JOIN [EA - Siloxane] 
  42.       ON [AA - Sample ID].ID = [EA - Siloxane].ID) 
  43.    INNER JOIN [EB - Chembetaine] 
  44.       ON [AA - Sample ID].ID = [EB - Chembetaine].ID) 
  45.    INNER JOIN [EC - Drop Quench] 
  46.       ON [AA - Sample ID].ID = [EC - Drop Quench].ID
  47. ORDER BY [AA - Sample ID].ID;


[z{moderators comment: Please consider renaming the fields using the "-" sign.
Access 2007 reserved words and symbols
AllenBrowne- Problem names and reserved words in Access}]
Jan 29 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: TP-Software | last post by:
Hi, I have a ChatFormCollection class which holds a collection of the class ChatForm which inherits from Form. MainForm has an instance of ChatFormCollection. When a ChatForm instance is...
2
by: Ben Barnes | last post by:
Hi, Having an issue with a pretty standard javascript text counter. The counter works fine when a user physically enters text into a textbox but shoudl the textbox have a value prefilled then...
1
by: MuZZy | last post by:
Hi, How do i notify the main MDI form that one of the child forms got closed? Thank you Andrey
1
by: Jon Pope | last post by:
I'm maintaining an internal tool within my organization. Some of my users have resized their system font size by changing the DPI setting from 96DPI to 120DPI (by right-clicking the desktop and...
2
by: mdiddy | last post by:
I'm learning vb, coming from a Perl background. I want to know how to reference a form element by using a counter variable in the element's name. For instance, let's say I have a form with 10...
6
by: Gustaf | last post by:
My Windows app is dependant on some registry keys settings. In case the subkey for the app doesn't exists, I want to show a messagebox, and then quit the whole program (without showing the main...
1
by: Banta | last post by:
my form is frezzing when I go loop - how do I fix
2
by: Tom_F | last post by:
To comp.databases.ms-access -- I would like to trigger an event when I close a form -- but ONLY when the data in the "RecordSource" table has been updated. I tried using the AfterUpdate event,...
3
rizwan6feb
by: rizwan6feb | last post by:
I know the problem but can't find the solution. Please help I have 2 forms in my application (Form1 and Form2, Form1 is the startup form). I am connecting to the database in a new thread (In the...
20
by: time2hike | last post by:
I have a series of forms that allow the users to update data in a temporary table and then delete the records in the permanent table and append the records from the temporary table to the permanent...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.