Access Database Results - Format FrontPage field as currency

G

Guest

Help please!
I have the results of an Access Database Query brought out to a results
table in a FrontPage asp page. However the currency field displays on the asp
as an integer i.e.no commas to seperate the numbers.

The Database query if viewed "raw" looks ok, the field showing correctly as
currency but in Frontpage results the number displays just as an integer, any
help please would be appreciated
 
G

Guest

On page 2 of the wizard, click Custom Query and Edit, then add a computed
field such as:

SELECT Format([amount],'Currency') as fmtamount, ...

Then, report the fmtamount field instead of the amount field.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
G

Guest

Jim many thanks, will have a go, regards Mick

Jim Buyens said:
On page 2 of the wizard, click Custom Query and Edit, then add a computed
field such as:

SELECT Format([amount],'Currency') as fmtamount, ...

Then, report the fmtamount field instead of the amount field.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


Mick said:
Help please!
I have the results of an Access Database Query brought out to a results
table in a FrontPage asp page. However the currency field displays on the asp
as an integer i.e.no commas to seperate the numbers.

The Database query if viewed "raw" looks ok, the field showing correctly as
currency but in Frontpage results the number displays just as an integer, any
help please would be appreciated
 

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