Ramnik
Registered User.
- Local time
- Today, 15:30
- Joined
- Jul 12, 2012
- Messages
- 145
hello i am developing a data entry system for production in a factory . i have developed the tables as :
masterproducts
productid(primary key) product name
12345 first product
23423 second product
43543 third product
these are one to one i.e. productid=productname
Inputproduct (to be entered by user)
date productid(foreignkey) productname
2-09-09 12345 second product ???? how to validate this entry ??
if user enters a product id and by mistake he enters wrong name what should he do ? i confirm that i cant miss this field as it can be done with a query instead but i need the user to enter it strictly. how to relate the master table or how to validate the productid=productname
thanks ..
masterproducts
productid(primary key) product name
12345 first product
23423 second product
43543 third product
these are one to one i.e. productid=productname
Inputproduct (to be entered by user)
date productid(foreignkey) productname
2-09-09 12345 second product ???? how to validate this entry ??
if user enters a product id and by mistake he enters wrong name what should he do ? i confirm that i cant miss this field as it can be done with a query instead but i need the user to enter it strictly. how to relate the master table or how to validate the productid=productname
thanks ..