Carrying fields from one form to another

S

sgricus

Hi!

I am creating a very simple database for the Theater Company. I have a
form (called frmPeople), that lists the BuyerID, Last Name and First
Name of a ticket buyer. The form also lists the ticket history,
adress....etc.
From this form, you click on the "Buy Tickets" button, and it takes you
to frmPurchase, which allows you to choose the performance, etc.

What I want to do is create some sort of "event" where when you click
on "Buy Tickets", frmPurchase will pop-up with the BuyerID, Last Name
and First Name that you were on when you were on frmPeople.

Every time I try to create a macro, it says it doesn't work.

ANY IDEAS?!?!?!?!?!?!?
 
S

strive4peace

Hi,

If frmPeople will always be open when you open frmPurchase,
set the default value properties for frmPurchase

BuyerID --> DefaultValue -->
= nz(forms!frmPeople!BuyerID)

Last Name --> DefaultValue -->
= nz(forms!frmPeople!Last_Name)

First Name --> DefaultValue -->
=nz(forms!frmPeople!First_Name)

Warm Regards,
Crystal
MVP Microsoft Access

remote programming and training
strive4peace2006 at yahoo.com
*
Have an awesome day ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top