Database results and decimal places

I

Ian

Does anybody know how to make a field displayed from a database using the
FP2003 Database Results wizard which is a currentcy field display with two
decimal places?

I've looked everywhere!

Many thanks

Ian
 
I

Ian

Kathleen,

I wonder if you can help, I've tried adding the format command to the SQL
statement below and keep getting syntax errors. Any advise on the best
place to insert the string?

SELECT record.SIZE, Count(record.SIZE) AS CountOfSIZE, Sum(record.COST) AS
SumOfCOST
FROM record
GROUP BY record.SIZE
ORDER BY Count(record.SIZE) DESC , Sum(record.COST) DESC;

The field SumOfCOST contains the value I wish to use the format on.

Many thanks

Ian
 
I

Ian

Don't worry got it!!!

Ian said:
Kathleen,

I wonder if you can help, I've tried adding the format command to the SQL
statement below and keep getting syntax errors. Any advise on the best
place to insert the string?

SELECT record.SIZE, Count(record.SIZE) AS CountOfSIZE, Sum(record.COST) AS
SumOfCOST
FROM record
GROUP BY record.SIZE
ORDER BY Count(record.SIZE) DESC , Sum(record.COST) DESC;

The field SumOfCOST contains the value I wish to use the format on.

Many thanks

Ian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top