pdvsa
asked on
Update Qry
Experts,
I need to update the tblLetterOfCredit.Amount to the value from Import_LC_Amount but only for tblLetterOfCredit.Currency = USD.
tblLetterOfCredit.Currency has a row source qry of:
SELECT tblCurrencyExchange.Curren cyID, tblCurrencyExchange.Curren cy FROM tblCurrencyExchange;
this is what I have now joined on [LCNo] to [JP Morgan Reference] and need the USD part:
UPDATE IMPORT_LC_AMOUNTS INNER JOIN tblLetterOfCredit ON IMPORT_LC_AMOUNTS.[JP Morgan Reference] = tblLetterOfCredit.LCNo SET tblLetterOfCredit.Amount = [Import_LC_Amount].[Issued amt];
anything else please let me know
Thank you
I need to update the tblLetterOfCredit.Amount to the value from Import_LC_Amount but only for tblLetterOfCredit.Currency
tblLetterOfCredit.Currency
SELECT tblCurrencyExchange.Curren
this is what I have now joined on [LCNo] to [JP Morgan Reference] and need the USD part:
UPDATE IMPORT_LC_AMOUNTS INNER JOIN tblLetterOfCredit ON IMPORT_LC_AMOUNTS.[JP Morgan Reference] = tblLetterOfCredit.LCNo SET tblLetterOfCredit.Amount = [Import_LC_Amount].[Issued
anything else please let me know
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Should work
As always, backup your database before making any mass updates like that.
As always, backup your database before making any mass updates like that.
ASKER
Update tblLetterOfCredit
SET tblLetterOfCredit.Amount = [Import_LC_Amount].[Issued
from tblLetterOfCredit
Where tblLetterOfCredit.Currency
See something wrong with that?