Sara Overton
Registered User.
- Local time
 - Today, 00:26
 
- Joined
 - May 22, 2001
 
- Messages
 - 34
 
Hope you can help!
I have a form which the users enters a serial number and a product code into separate input boxes.
The product codes are held in a separate table with 3 fields -the start serial number, the end serial number, the increments they are counted in i.e. 3.
I need the database to check the serial number is within the start and end range bearing in mind each product may have a different increment.
If start is: 100
End is: 200
Increment is 5
The number 177 would be invalid.
Any ideas how to set the vb code up to check these 3 fields?
Thanks in advance
 I have a form which the users enters a serial number and a product code into separate input boxes.
The product codes are held in a separate table with 3 fields -the start serial number, the end serial number, the increments they are counted in i.e. 3.
I need the database to check the serial number is within the start and end range bearing in mind each product may have a different increment.
If start is: 100
End is: 200
Increment is 5
The number 177 would be invalid.
Any ideas how to set the vb code up to check these 3 fields?
Thanks in advance