A
ANDY-N via AccessMonster.com
I have a table that gets updated every week. However, each week, this table
is deleted by a MAKE TABLE query so the number format doesn't hold. So I
created an update query to fix this problem. I want the number format to have
2 decimal places. This works fine, however, there are negative numbers in the
table which get changed to positive numbers when this update query runs. I
can't figure out how to fix this problem. The construct for the update query
is followed:
UPDATE [MASTER TABLE] SET YTD = FORMAT([YTD],"##,###.00;0; -##,###.00"), JAN
= FORMAT([JAN],"##,###.00;0; -##,###.00"), FEB = FORMAT([FEB],"##,###.00;0; -
##,###.00"), MAR = FORMAT([MAR],"##,###.00;0; -##,###.00");
Please help. Thanks!
is deleted by a MAKE TABLE query so the number format doesn't hold. So I
created an update query to fix this problem. I want the number format to have
2 decimal places. This works fine, however, there are negative numbers in the
table which get changed to positive numbers when this update query runs. I
can't figure out how to fix this problem. The construct for the update query
is followed:
UPDATE [MASTER TABLE] SET YTD = FORMAT([YTD],"##,###.00;0; -##,###.00"), JAN
= FORMAT([JAN],"##,###.00;0; -##,###.00"), FEB = FORMAT([FEB],"##,###.00;0; -
##,###.00"), MAR = FORMAT([MAR],"##,###.00;0; -##,###.00");
Please help. Thanks!