PC Review


Reply
Thread Tools Rate Thread

Access Database Results - Format FrontPage field as currency

 
 
=?Utf-8?B?TWljaw==?=
Guest
Posts: n/a
 
      31st Jan 2005
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
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      31st Jan 2005
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" wrote:

> 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

 
Reply With Quote
 
=?Utf-8?B?TWljaw==?=
Guest
Posts: n/a
 
      31st Jan 2005
Jim many thanks, will have a go, regards Mick

"Jim Buyens" wrote:

> 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" wrote:
>
> > 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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database results format field Mick Microsoft Frontpage 2 20th Feb 2009 06:47 PM
Problem sending results from Frontpage from to Access database! =?Utf-8?B?cm9iYmVydGw=?= Microsoft Frontpage 0 7th Oct 2006 09:40 PM
sending form results in frontpage to an access database? =?Utf-8?B?Q2Vlag==?= Microsoft Frontpage 2 29th Jun 2006 07:05 AM
Access: Create a macro to format a table field to currency? =?Utf-8?B?S2Vu?= Microsoft Access Macros 1 27th Mar 2006 08:39 PM
Frontpage 2003 / Access / Database Results / Address Andy Watts Microsoft Frontpage 1 28th May 2004 02:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:19 PM.