Solved

Build one record with multiple forms

Posted on 2007-04-04
6
229 Views
Last Modified: 2012-05-05
I want to create multiple forms that will gather information and store it in one record. i.e. Step 1 (what size?) Step 2 (what color?) Step 3 (What is it?)

Each step is it's own form that add information to the same record.
0
Comment
Question by:zero118
  • 3
  • 3
6 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 125 total points
ID: 18851252
How about a single form, bound... Just make the appropriate steps visible at the right time:
ie start with just txt1 visible.
 
In txt1's after update event:

If nz(Me.txt1,"") <> "" Then
   me.txt1.visible = false
   me.txt2.visible = true
end if

In txt2's after update event:

If nz(Me.txt2,"") <> "" Then
   me.txt2.visible = false
   me.txt3.visible = true
end if

etc....
0
 
LVL 1

Author Comment

by:zero118
ID: 18851277
I know how to create a single form, I Require multiple forms to build a product as it goes.  Like if it's left or right, the rest of the options on the remaining forms would need to be taylored to that.
0
 
LVL 61

Expert Comment

by:mbizup
ID: 18851314
Buid your forms and bind them to the table.  To filter them to the correct record on opening:

DoCmd.openform "frmYourFormName",,,"ID = " & me.ID

This is assuming that you are launching the forms from some "main form" bound to the table.  You need something like this to let the other forms know what record you are working with.
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 1

Author Comment

by:zero118
ID: 18851986
Actually, I think your first suggestion will work just fine inside of Tabs =-)  Thanks.
0
 
LVL 61

Expert Comment

by:mbizup
ID: 18851997
Glad to help, but why the "B" grade?
0
 
LVL 1

Author Comment

by:zero118
ID: 18852448
:)  Not everyone can score an A for everything.  It wasn't EXACTLY what I was looking for but turned out to work okay.  ;-)
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question