C
Chris Freeman
to all,
I have an output function to create a CSV text file. the output works fine.
But now, I want to caputre the total of the check amount field. This works
fine, but I can't get the field to convert to be represented as currency.
currently, I have:
Dim RID As Double
blah blah blah...
Print #fileout, rst.Fields![Check_Amount]
RID = RID + rst.Fields![Check Amount]
msgbox "You've exported n records for for X."
where X is displaying as 2127.3 instead of $ 2,127.30
I've tried:
RID = RID + val(rst.Fields![Check Amount]) - no change
RID = RID + CCur(rst.Fields![Check Amount]) - no change
RID = RID + CDBL(rst.Fields![Check Amount]) - no change
I could go back and grab the query data, but isn't there a way to get this
value to display in a double or currency format?
TIA
I have an output function to create a CSV text file. the output works fine.
But now, I want to caputre the total of the check amount field. This works
fine, but I can't get the field to convert to be represented as currency.
currently, I have:
Dim RID As Double
blah blah blah...
Print #fileout, rst.Fields![Check_Amount]
RID = RID + rst.Fields![Check Amount]
msgbox "You've exported n records for for X."
where X is displaying as 2127.3 instead of $ 2,127.30
I've tried:
RID = RID + val(rst.Fields![Check Amount]) - no change
RID = RID + CCur(rst.Fields![Check Amount]) - no change
RID = RID + CDBL(rst.Fields![Check Amount]) - no change
I could go back and grab the query data, but isn't there a way to get this
value to display in a double or currency format?
TIA