G
Guest
Hi,
I am searching through the discussion for a while now, but could not find
the answer to my question:
I have a aggregate query on a table - summing up some field with numbers.
The format of the field in the source table is set to standard, so when I run
a normal report I got the field in the right format ( 1,234.56). But in case
of the sum query I got the unformatted: 1234.5678
I know that it is possible to get into query design view, right click on the
field and change the format. BUT I create the query with CreateQueryDef in
VBA and I need to set the format in VBA. Is that possible? Or really MS left
out something from VBA? So far I had the impression that you can do
everything in VBA.
Thank you for your answer in advance!
Br, Kolos
I am searching through the discussion for a while now, but could not find
the answer to my question:
I have a aggregate query on a table - summing up some field with numbers.
The format of the field in the source table is set to standard, so when I run
a normal report I got the field in the right format ( 1,234.56). But in case
of the sum query I got the unformatted: 1234.5678
I know that it is possible to get into query design view, right click on the
field and change the format. BUT I create the query with CreateQueryDef in
VBA and I need to set the format in VBA. Is that possible? Or really MS left
out something from VBA? So far I had the impression that you can do
everything in VBA.
Thank you for your answer in advance!
Br, Kolos