Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find a record

Status
Not open for further replies.

jossimon

Programmer
Feb 4, 2005
39
US
I created a subform in my main form. The subform lists out the details of a ticket. the main form asks for the ticket number. I want the subform to show the details of the provided ticket number when the user pushes "Find Ticket". Sounds simple enough, but everything I have tried has failed. Please help.
 
You need to set a reference to the main form control(where it asks for the ticket number) and pass that to the subform.

Something like this might help:
Me.Parent!txtTicket(your control name).

Use this or store it in a variable to do whatever you do to display ticket details.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top