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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Form in Tab Control

Status
Not open for further replies.

tomyplystation

Programmer
Nov 26, 2008
2
US
I have created a form in a tab control and it is on tab page 0. The tab control is on a form. When I run a qyery against the form on the tab I get 0 results. The query should be returning one line of data. In the query criteria I have [Forms]![Request_Form]![txtAuthID]. The main form is Member_Form with the tab control as TabCtl103 and the subform as Request_Form. Any help would be great.
 
How are ya tomyplystation . . .

and this:
Code:
[blue][Forms]![Member_Form]![Request_Form].Form![txtAuthID][/blue]

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
TheAceMan1,

I think you have an extra "form" in your expression. Please try:
Code:
[Forms]![Member_Form]![Request_Form]![txtAuthID]

Regards,
Lisa
 
tomyplystation . . .

Its a matter of proper form referencing. See: Refer to Form and Subform properties and controls

BTW: Welcome to [blue]Tek-Tips![/blue] [thumbsup2] Do have a look at one of the links at the bottom of my post. The links will help you [blue]ask better questions[/blue], get [blue]quick responses[/blue], [blue]better answers[/blue], and insite into [blue]etiquette[/blue] here in the forums. Again . . . Welcome to [blue]Tek-Tips![/blue] [thumbsup2] [blue]Its Worthy Reading![/blue]

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top