I am having Two tables
Master: RyotNo (Primary Key), CategoryNo,RyotName, Address, City, BankAccNo
Child: RyotNo(Foreign Key), TDate(PrimaryKey), LorryNo(PrimaryKey), Weight(PrimaryKey), CategoryNo(PrimaryKey)
If I insert a RyotNo in Child table, its categoryID must also be stored in Child table CategoryNo.
Plz help me. Thanks in advance.