M
michael shearer
Hi,
I have an update query that is supposed to update from a blank cell to
a number with five decimal places.
For some reason, when I run it or view the datasheet, the values do
not display. When I run a select query to view the data that is
supposed to update, I can see it.
There are additional fields in the update query that are all
calculations based on the value that displays as blank. Here is the
SQL for it:
UPDATE CurrencyConversion, RoyaltyReport SET RoyaltyReport.[Currency
Conversion] = CurrencyConversion.[Currency Rate], RoyaltyReport.[USD
Gross Total] = RoyaltyReport.[USD Gross Total]*CurrencyConversion.
[Currency Rate], RoyaltyReport.[Total Sale] = RoyaltyReport.[Total
Sale]*CurrencyConversion.[Currency Rate], RoyaltyReport.USD =
RoyaltyReport.USD*CurrencyConversion.[Currency Rate],
RoyaltyReport.ROYALTY = RoyaltyReport.Royalty*CurrencyConversion.
[Currency Rate], RoyaltyReport.unitprice =
RoyaltyReport.unitprice*CurrencyConversion.[Currency Rate]
WHERE (((RoyaltyReport.SOURCE)=[CurrencyConversion].[Month Paid]));
Any thoughts on this? Thanks for your time.
Kindly,
Michael
I have an update query that is supposed to update from a blank cell to
a number with five decimal places.
For some reason, when I run it or view the datasheet, the values do
not display. When I run a select query to view the data that is
supposed to update, I can see it.
There are additional fields in the update query that are all
calculations based on the value that displays as blank. Here is the
SQL for it:
UPDATE CurrencyConversion, RoyaltyReport SET RoyaltyReport.[Currency
Conversion] = CurrencyConversion.[Currency Rate], RoyaltyReport.[USD
Gross Total] = RoyaltyReport.[USD Gross Total]*CurrencyConversion.
[Currency Rate], RoyaltyReport.[Total Sale] = RoyaltyReport.[Total
Sale]*CurrencyConversion.[Currency Rate], RoyaltyReport.USD =
RoyaltyReport.USD*CurrencyConversion.[Currency Rate],
RoyaltyReport.ROYALTY = RoyaltyReport.Royalty*CurrencyConversion.
[Currency Rate], RoyaltyReport.unitprice =
RoyaltyReport.unitprice*CurrencyConversion.[Currency Rate]
WHERE (((RoyaltyReport.SOURCE)=[CurrencyConversion].[Month Paid]));
Any thoughts on this? Thanks for your time.
Kindly,
Michael