Jump to content

Validate a field with constant prefix


This topic is 6168 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a database that tracks manufacturing production. I have a text field that contains a part number (i.e. 123456). The last field in my database is one where I scan a barcode of the part number. I need to validate that the 2 fields match, however, the scanned part number contains of prefix of "P" (i.e. P123456). Previously, I had set the scanned part number field validation as a calculation Exact (part number; "P"&scannned part number). This did the job, but caused some problems during data entry. I'd like to change the validation to a script that is run after data entry. I tried creating a script with:

If Exact (part number; "P"&scannned part number)

task

Else

task

End if

The Exact function is not working anymore?

Please advise

Link to comment
Share on other sites

This topic is 6168 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.