I have four fields, ItemDesc, ItemCode, UnitPrice and UnitofMeasure(UOM). ItemDesc is a combobox and the rest r textfields. When the user types in ItemDesc and there's such an item in tblItemMaster, it will automatically fill up ItemCode, UnitPrice and UOM.
However, I have a problem if the user enters an ItemDesc that is not in tblItemMaster. I get an error when I try to go to the next record. The error goes,
"The Microsoft Jet Database Engine cant find a record in the table tblItemMaster with key matching field(s) ItemDesc"
How do I allow users to add new items yet at the same time allow them to be able to find existing records in the table?
Regards,
Swee
However, I have a problem if the user enters an ItemDesc that is not in tblItemMaster. I get an error when I try to go to the next record. The error goes,
"The Microsoft Jet Database Engine cant find a record in the table tblItemMaster with key matching field(s) ItemDesc"
How do I allow users to add new items yet at the same time allow them to be able to find existing records in the table?
Regards,
Swee