By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,669 Members | 2,203 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,669 IT Pros & Developers. It's quick & easy.

Query Criteria Based on Form Value

P: 4
I have a form which allows me to enter a value and then view a report based on that value.

The value is currently entered as P-##### and the query criteria is...

[forms]![frmJobCompletion]![txtJobNum]

I want the Form to have "P-" in a text box and then the user only has to enter "#####".

How do I alter the query to still return "P-#####".
Oct 22 '07 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,327
You can use an input mask on the form's textbox or you can concatenate the first two characters in the query.
Oct 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.