Hey, I need help with something.
I'm putting together a post office database, and the two most important fields for anything in this are "Tracking Number" and "Courier".
"Courier" is whichever mail delivery service brought the package to the post office, such as UPS, Fed-Ex, DHL, USPS, etc.
"Tracking Number" is a number which identifies a package, and follows a different format with each courier. For example:
UPS—starts with “1Z” and is 18 characters. The six digits following “1Z” can be either numeric or alpha-numeric, but the remaining characters after that are all numeric.
Ex. 1Z 333 3ZY 3847934748
So, here I am, entering data into the Tracking Number field, then tabbing over to the Courier field, when a thought comes to mind: I can use input masks to help make the Tracking Numbers follow the format style that each courier uses.
But, I can't think of how I can tell Access to do this.
IF the courier is UPS, THEN the Input Mask for that one particular Tracking Number field is...
IF the courier is Fed-Ex, THEN the Input Mask for that one particular Tracking Number field is...
So on and so forth.
Help me? Ideas? Advice? Thank you.
I'm putting together a post office database, and the two most important fields for anything in this are "Tracking Number" and "Courier".
"Courier" is whichever mail delivery service brought the package to the post office, such as UPS, Fed-Ex, DHL, USPS, etc.
"Tracking Number" is a number which identifies a package, and follows a different format with each courier. For example:
UPS—starts with “1Z” and is 18 characters. The six digits following “1Z” can be either numeric or alpha-numeric, but the remaining characters after that are all numeric.
Ex. 1Z 333 3ZY 3847934748
So, here I am, entering data into the Tracking Number field, then tabbing over to the Courier field, when a thought comes to mind: I can use input masks to help make the Tracking Numbers follow the format style that each courier uses.
But, I can't think of how I can tell Access to do this.
IF the courier is UPS, THEN the Input Mask for that one particular Tracking Number field is...
IF the courier is Fed-Ex, THEN the Input Mask for that one particular Tracking Number field is...
So on and so forth.
Help me? Ideas? Advice? Thank you.