A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Number format in listbox



 
 
Thread Tools Display Modes
  #1  
Old July 8th, 2009, 04:14 PM posted to microsoft.public.access.forms
paul[_11_]
external usenet poster
 
Posts: 2
Default Number format in listbox

Hi

Im trying to set the number formats in a listbox to "Standard" with no
decimal places.

Currently i can get it to display by:

5,000,000.00

by using: format([area_sqft],'Standard') in the query for the
rowsource of the listbox, however i can't get it to remove the 2
decimal places.

Any ideas?

Thanks
Paul
  #2  
Old July 8th, 2009, 04:47 PM posted to microsoft.public.access.forms
Douglas J. Steele[_3_]
external usenet poster
 
Posts: 3,143
Default Number format in listbox

Format([area_sqft], "#,###")

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"paul" wrote in message
...
Hi

Im trying to set the number formats in a listbox to "Standard" with no
decimal places.

Currently i can get it to display by:

5,000,000.00

by using: format([area_sqft],'Standard') in the query for the
rowsource of the listbox, however i can't get it to remove the 2
decimal places.

Any ideas?

Thanks
Paul



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.