A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using data on form A to control form B's results



 
 
Thread Tools Display Modes
  #1  
Old May 12th, 2004, 08:11 PM
arketekchic
external usenet poster
 
Posts: n/a
Default Using data on form A to control form B's results

I have a form (A) that you can select 12 different things from, when you select one, then form B opens, however right now I have a form for each of the 12 things, how can I use just one form and reference the choice from form A to make the information on the corresponding table open in form B?

Thanks!
  #2  
Old May 13th, 2004, 12:20 AM
John Vinson
external usenet poster
 
Posts: n/a
Default Using data on form A to control form B's results

On Wed, 12 May 2004 12:11:07 -0700, "arketekchic"
wrote:

I have a form (A) that you can select 12 different things from, when you select one, then form B opens, however right now I have a form for each of the 12 things, how can I use just one form and reference the choice from form A to make the information on the corresponding table open in form B?

Thanks!


Yes, you can; base FormB on a Query using

=Forms!FormA!txtThing

as a criterion on the Thing field.

John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
  #3  
Old May 13th, 2004, 02:31 PM
arketekchic
external usenet poster
 
Posts: n/a
Default Using data on form A to control form B's results

Thank you, however I'm either not understanding what to do or I didn't explain it right the first time.

I have FormA and FormB, Form A consists of 12 choices which are tables, I want form B to use the table information chosen from FormA. I tried putting what you said in Form B where it says Record Source. Maybe this wasn't the right place? Should I be using it in the Macro? Can you tell I'm new to this?!

If it helps you can email me directly and I can send you what I'm doing. I have the database working however I have a form for each of the 12 tables and I know I shouldn't have to do that, I want just one form that will call on whichever table's information you select from form A.

THANKS!!!
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.