G
Guest
I'm looking for code that will allow me to restrict inputting data in one
table if data is not found in another table.
Tables:
tblParts.PartNo
tblMasterPartList.PartNo
I need to have the tblParts.PartNo field check the tblMasterPartList.PartNo
field to make sure there is an existing part number in the
tblMasterPartList.PartNo.And, if yes, allow an entry into the tblParts.PartNo
field/table. If there is no matching part number found in the
tblMasterPartList.PartNo field, I need to return a message that says, "go see
Mark for permission".
I'm fairly new at programming, so if you can provide the code I'd be
greatful. Or fi you know someplace where I could find the code to do this.
table if data is not found in another table.
Tables:
tblParts.PartNo
tblMasterPartList.PartNo
I need to have the tblParts.PartNo field check the tblMasterPartList.PartNo
field to make sure there is an existing part number in the
tblMasterPartList.PartNo.And, if yes, allow an entry into the tblParts.PartNo
field/table. If there is no matching part number found in the
tblMasterPartList.PartNo field, I need to return a message that says, "go see
Mark for permission".
I'm fairly new at programming, so if you can provide the code I'd be
greatful. Or fi you know someplace where I could find the code to do this.