S
Slippery_1 via AccessMonster.com
I have an input on a form that I want to update other text boxes based on a
serial number on the same form . My problem is that my serial numbers are not
a fixed size and have different prefixes to identify the product.
Example:
USxxxxxx (where US is the product and xxxxx is number made)
ULPxxxx (Where ULP is the product and xxxx is the number made)
ESS3xxxx (Where ESS3 is the ......etc, etc... )
I have 45 products. My form has 4 text boxes:
1) Serial number (Input searches SerialData table)
gives me output data in text boxes:
Form1
2) Product Type = (bound to ProductList table)
3) Date Installed = (from Serial numbers table)
4) Still under warranty? = (Yes/no - 3 yrs from date installed)
Table1:
SerialData (Table)
SerialNumber (Key Field)
DateInstalled (Field)
WarrantyExp (Field)
Table2:
ProductList (Table)
Prefix (Key Field - identifies product type from serial number)
Product (Field - product description)
ProductCode (Field - Product code)
With 40 plus products, how can I output the identity of the product in my
form based on so many different prefixes? My serial number have prefixes of
2 to 4 alphanumeric characters and a 4 or 5 digit number sequence it was made.
Some type of an array maybe? If then statements? Possible? I believe all
serial numbers are either 7 or 8 characters total if that helps.
My goal:
I input a serial number, it tells me what product, what date it was installed
and is it still under warranty.
TIA for any help at all
serial number on the same form . My problem is that my serial numbers are not
a fixed size and have different prefixes to identify the product.
Example:
USxxxxxx (where US is the product and xxxxx is number made)
ULPxxxx (Where ULP is the product and xxxx is the number made)
ESS3xxxx (Where ESS3 is the ......etc, etc... )
I have 45 products. My form has 4 text boxes:
1) Serial number (Input searches SerialData table)
gives me output data in text boxes:
Form1
2) Product Type = (bound to ProductList table)
3) Date Installed = (from Serial numbers table)
4) Still under warranty? = (Yes/no - 3 yrs from date installed)
Table1:
SerialData (Table)
SerialNumber (Key Field)
DateInstalled (Field)
WarrantyExp (Field)
Table2:
ProductList (Table)
Prefix (Key Field - identifies product type from serial number)
Product (Field - product description)
ProductCode (Field - Product code)
With 40 plus products, how can I output the identity of the product in my
form based on so many different prefixes? My serial number have prefixes of
2 to 4 alphanumeric characters and a 4 or 5 digit number sequence it was made.
Some type of an array maybe? If then statements? Possible? I believe all
serial numbers are either 7 or 8 characters total if that helps.
My goal:
I input a serial number, it tells me what product, what date it was installed
and is it still under warranty.
TIA for any help at all