Solved

Build one record with multiple forms

Posted on 2007-04-04
6
222 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 1

Author Comment

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

Expert Comment

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

Author Comment

by:zero118
Comment Utility
:)  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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
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…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now