I'm creating forms to allow users create queries on the fly allowing them to select the fields they want to appear. When they select the fields it creates the SQL and then uses this to create a querydef which then open to display the results.
I want to have the number fields formatted as #,##0.00 but if I use the format function to achieve this it appears as text with everything to the left of the field rather than to the right as with numbers.
Does anyone know of a way to create the querydef so the number fields are formatted as I want, being standard number with 2 decimal places.
I'm using 97 so I don't have FormatNumber available to use, unless someone knows how to implement it in 97.
I want to have the number fields formatted as #,##0.00 but if I use the format function to achieve this it appears as text with everything to the left of the field rather than to the right as with numbers.
Does anyone know of a way to create the querydef so the number fields are formatted as I want, being standard number with 2 decimal places.
I'm using 97 so I don't have FormatNumber available to use, unless someone knows how to implement it in 97.