L
LanWanMan
Hello,
I have a main table called Claims which has, among others, the following
fields:
ClaimID
EmpInvID1
EmpInvLast1
EmpInvFirst1
EmpInvID2
EmpInvLast2
EmpInvFirst2....etc
And then a second table called EmployeeInvolved and the fields:
EmpInvID
ClaimID
EmpInvLast
EmpInvFirst
If the EmployeeInvolved form, I would like to have a command button to
delete the record in this table but also delete the values in EmpInvIDX,
EmpInvLastX and EmpInvFirstX in the Claims table where the EmpInvID in the
EmployeeInvolved table equals EmpInvIDX. There is a relationship defined
for ClaimID. ClaimID in EmployeeInvolved record will equal the correct
record in the Claims table.
I hope I am not too ambiguous. Any help would be greatly appreciated.
Please reply to the group.
Thanks,
Michael
LanWanMan
I have a main table called Claims which has, among others, the following
fields:
ClaimID
EmpInvID1
EmpInvLast1
EmpInvFirst1
EmpInvID2
EmpInvLast2
EmpInvFirst2....etc
And then a second table called EmployeeInvolved and the fields:
EmpInvID
ClaimID
EmpInvLast
EmpInvFirst
If the EmployeeInvolved form, I would like to have a command button to
delete the record in this table but also delete the values in EmpInvIDX,
EmpInvLastX and EmpInvFirstX in the Claims table where the EmpInvID in the
EmployeeInvolved table equals EmpInvIDX. There is a relationship defined
for ClaimID. ClaimID in EmployeeInvolved record will equal the correct
record in the Claims table.
I hope I am not too ambiguous. Any help would be greatly appreciated.
Please reply to the group.
Thanks,
Michael
LanWanMan