Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 8th, 2004, 12:20 PM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Display a Text Field as Currency on a Report

I have a report that contains all text fields. They are all text because the history tracking saves all of the changed fields as text. What I need to do is display some of the fields in Currency format. Any help with this is much appreciated. Thanks. Jim
  #2 (permalink)  
Old April 8th, 2004, 01:24 PM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured it out:

If rs![ColumnChanged] = "One-Time_Cost" Then
rs![OldValue] = Format(rs![OldValue], "$#,##0")
End If

Jim


Similar Threads
Thread Thread Starter Forum Replies Last Post
Currency field in a form arielote C# 0 February 27th, 2006 05:06 PM
Display 0 currency as Null String echovue Access 5 August 11th, 2005 02:33 PM
display field in Data Report myth12345 VB How-To 1 February 13th, 2005 10:28 PM
Display currency amounts, including cents. danielh Javascript How-To 1 January 19th, 2004 06:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.