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

Validation against Query Results

Status
Not open for further replies.

Ebes1099

Technical User
Jul 8, 2009
156
US
I'm trying to makie a validation rule for a field on my form based on the results of a query. I only want the user to be able to enter certain Account Numbers. I made a query that returns the Account Numbers I want the user to be able to enter. Then if I go into the field on the form and do validation and put...

In [Accts Query][Accounts]

it gives me some error saying it doesn't contain the automation object.

How can I get the validation to work using the results of the query?
 
Yea I guess I could do that. It might look nicer if I can use validation since the fields all below it are just plain text boxes. Would the validation rule be difficult to implement on a text box?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top