pop up forms

A

Afrosheen

My question is two fold and I will try to explain it as best as I can.

I have a sub form that I would like to have pop up when an event happens,
like when I press my toggle button I have on the screen. Here's what happens.
When I press the toggle button it does pop up, but the information like last
name does not show up. The pop up box and the main form have the same field
last name, but if I move to another record the name in the popup form will
always stay on the first record in the table. Of course I want the popup to
follow.

I did bring the sub form into the main form but when I try to access it from
the main form I get an error. This is the code I try to "Unhide" the sub
form. This is also based on pressing the toggle button. The form name is:
frm_train.

Static fld As Boolean
If fld Then 'this will activate the training form
Me.frm_train.Visible = True
fld = False
Else 'This will deactivate the training form
'Me.frm_train.Visible = False
fld = True
End If

I hope I've explained it correctly.
 

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