M
Mavis
Hi,
I am using access 2007.
I have 2 tables Customer and Supplier. In Both table there are 3 comment
fields (First name, Last name and Phone Number). The three information will
first fill in Customer table Form first. I will like the phone number to auto
appear in the Supplier table form when Supplier.firstname =
Customer.firstname and Supplier.lastname = Customer.lastname.
I tried the below SQL code but the result is wrong.
SELECT [TBLRecoveryP&I].[P&I]
FROM TBLCargoClaims INNER JOIN [TBLRecoveryP&I] ON
(TBLCargoClaims.Voyage=[TBLRecoveryP&I].Voyage) AND
(TBLCargoClaims.Vessel=[TBLRecoveryP&I].Vessel);
Please kindly advice.
Thanks!
I am using access 2007.
I have 2 tables Customer and Supplier. In Both table there are 3 comment
fields (First name, Last name and Phone Number). The three information will
first fill in Customer table Form first. I will like the phone number to auto
appear in the Supplier table form when Supplier.firstname =
Customer.firstname and Supplier.lastname = Customer.lastname.
I tried the below SQL code but the result is wrong.
SELECT [TBLRecoveryP&I].[P&I]
FROM TBLCargoClaims INNER JOIN [TBLRecoveryP&I] ON
(TBLCargoClaims.Voyage=[TBLRecoveryP&I].Voyage) AND
(TBLCargoClaims.Vessel=[TBLRecoveryP&I].Vessel);
Please kindly advice.
Thanks!