473,503 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Saving records after last line is entered plus some

72 New Member
Hi Everyone,

I have a design issue here (go figure) on a form and kind of need some opinions on how to do this. I have my ideas but need a 2nd, 3rd, 4th.......opinions.

1st I will have a combo box with Formulas for Chemicals our company makes. I'd like to be able to have only the next formula in line of the schedule to be the only one to be selected but the others grayed out. Once the next selection is made in this combo box it will populate additional fields in this table

2nd once that is selected there will be another table that will be populated with combo boxes from the 1st combo box. I was planning on using cascading combo boxes for this. In this table the 2 combo boxes will be [Stage] and [Product Code]. Each stage has a multiple products for that stage. So this is looking like cascading boxes on top of each other (unless someone can recommend anything else).

Ok once all this process is complete we have to select the next product in line and have to save all the records from the previous formula which is the big question I have. We have to be able to use this as a history to compare with others that are made for trouble shooting issues. This part is really racking my brain.

I'm running Access 2007 on Windows Vista.

Your input is very much appreciated!
Jun 19 '07 #1
5 1403
MMcCarthy
14,534 Recognized Expert Moderator MVP
I'm sorry but I don't really understand the question you are asking. I know you have given a lot of information but I can't picture the form as you describe it.

Try forgetting about the layout of the form and just describe the logic of what you are trying to do.

Mary
Jun 19 '07 #2
wideasleep
72 New Member
Mary,

Sorry, this is a bit difficult to explain for me. I work in a chemical plant where everything in terms of technology are done backwards. I'm trying to keep a similar layout of our current form for ease of use for our employees.

OK let me try this again.

I have a combo box [PRODUCT CODE] that needs to have only one item selectable in it, based on a order of scheduled items.

Once the item in the 1st combo box is selected it needs to populate another combo box [STAGE]. The selection in the 2nd combo box will then populate a 3rd [code].

OK, now for the final issue. After the recording of all the information there will be a checkbox that will make the next item in line selectable in the 1st combo box [PRODUCT CODE]. Once the next item is selected it needs to save all the records from the previous item while creating a new set of records.

Hope that helps
Jun 21 '07 #3
MMcCarthy
14,534 Recognized Expert Moderator MVP
Mary,

Sorry, this is a bit difficult to explain for me. I work in a chemical plant where everything in terms of technology are done backwards. I'm trying to keep a similar layout of our current form for ease of use for our employees.

OK let me try this again.

I have a combo box [PRODUCT CODE] that needs to have only one item selectable in it, based on a order of scheduled items.

Once the item in the 1st combo box is selected it needs to populate another combo box [STAGE]. The selection in the 2nd combo box will then populate a 3rd [code].
This part is easy
Have a look at this tutorial

Cascading Combo boxes


OK, now for the final issue. After the recording of all the information there will be a checkbox that will make the next item in line selectable in the 1st combo box [PRODUCT CODE]. Once the next item is selected it needs to save all the records from the previous item while creating a new set of records.
You can't do this. You can't change the selected item and still retrieve the previously selected item unless you've recorded the value somewhere.

You say save all the records from the previous item but you don't explain what these records are or where they are being saved.
Jun 21 '07 #4
wideasleep
72 New Member
Mary,

Each selection in the combo box [PRODUCT CODE] will be for a set of records for each proccess that we do. Once the process is complete the records will be used for reference. I guess i'll have to just make a new table for each item in the [PRODUCT CODE] combo box.

I appreciate your efforts to help me with this. I was already looking at the tutorial Rabbit has and I thought I might have found a error in the tutorial unless I'm that new that I don't understand it. Where he references the OnChange Event is what is throwing me. The code indicates AfterUpdate unless I'm just not understanding it.

Curt
Jun 21 '07 #5
MMcCarthy
14,534 Recognized Expert Moderator MVP
Mary,

Each selection in the combo box [PRODUCT CODE] will be for a set of records for each proccess that we do. Once the process is complete the records will be used for reference. I guess i'll have to just make a new table for each item in the [PRODUCT CODE] combo box.

I appreciate your efforts to help me with this. I was already looking at the tutorial Rabbit has and I thought I might have found a error in the tutorial unless I'm that new that I don't understand it. Where he references the OnChange Event is what is throwing me. The code indicates AfterUpdate unless I'm just not understanding it.

Curt
I'll have a look at that. You are right it should be the After Update event.

Have a look at this tutorial for some advice on the way your tables should be structured.

Database Normalisation
Jun 21 '07 #6

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

Similar topics

2
3866
by: Shaiguy | last post by:
I have a table containing the following fields: ProjectUpdateID (PrimaryKey) ProjectID UpdateDate I would like to create a Query in Ms Access 2000 which will return me the most recent 2...
1
2176
by: R. Yang | last post by:
Hi, I've a question regarding saving the data. I noticed some of my recently-entered data mysteriously disappeared. There was nowhere to re-locate them. Plus, those data were entered within the...
4
1308
by: MLH | last post by:
Is there an alternative line of code for saving a record entered on an Access 97 line to this one... DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 ???
18
3766
by: TORQUE | last post by:
Hi, Im wondering if anyone can help me with a problem. I have a form with more than 50 unbound fields. Some of the fields will be blank from time to time. This seems to be where im having...
3
3104
by: Bob Sanderson | last post by:
I am trying to create a form for a MySQL database similar to a spreadsheet. The idea is to display a list of records, with the last line of the list being an input form. When the user enters data...
5
2913
by: Sherry | last post by:
Is there a way to automatically, or by using say a function key, call/paste into a current table or query's field the same value entered for the same field in the immediately preceeding record,...
8
9071
by: Gem | last post by:
Hi I'm struggling with a query returning too many records. I have 3 related tables. tblPatients tblOperations tblTargets Each patient in tblPatients can have more than one operation...
1
2404
by: natwong | last post by:
Hi All, I'm hoping that someone could help me out since I'm new with Access. Background: Database was set up as a simple data entry and reporting tool for Program Initiatives. The data...
4
2378
by: corey11 | last post by:
I'm a very low-level developer with limited VB knowledge but nonetheless was able to put together a very user-friendly and extremely helpful Access 97 database for my company some 10 years back. We...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7348
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7006
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5592
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,...
0
4685
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3166
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
397
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.