A
Arthur Dent
Hi all...
I have a db with a view in it. The view has a calculated column in it which
is just the difference of two other columns.
Now, when i view the query in Access... it works fine... e.g.
ColA = 0
ColB = 0
ColC = 0 (computed off the difference of A and B).
However, when i export the query to a spreadsheet, using the following code:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
"CycleReportSource", "s:\desktop\cyc.xls", True
I get something very weird...
ColA = 0
ColB = 0
ColC = -0 < (NEGATIVE zero)
anyone seen this before, or know why it might be?
columns A and B are both of type Number(Decimal)
column C is defined as follows:
ColC: Nz([ColA],0)-Nz([ColB],0)
I am using Access 2007.
Thanks in advance!
I have a db with a view in it. The view has a calculated column in it which
is just the difference of two other columns.
Now, when i view the query in Access... it works fine... e.g.
ColA = 0
ColB = 0
ColC = 0 (computed off the difference of A and B).
However, when i export the query to a spreadsheet, using the following code:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
"CycleReportSource", "s:\desktop\cyc.xls", True
I get something very weird...
ColA = 0
ColB = 0
ColC = -0 < (NEGATIVE zero)
anyone seen this before, or know why it might be?
columns A and B are both of type Number(Decimal)
column C is defined as follows:
ColC: Nz([ColA],0)-Nz([ColB],0)
I am using Access 2007.
Thanks in advance!