Solved

Build one record with multiple forms

Posted on 2007-04-04
6
225 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

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…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
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…

772 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