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  

Percentage question and query definitions



 
 
Thread Tools Display Modes
  #1  
Old April 8th, 2008, 04:33 PM posted to microsoft.public.access.forms
scubadiver
external usenet poster
 
Posts: 1,673
Default Percentage question and query definitions

I have created a crosstab query using a definition in VBA that calculates the
percentage. Is there a way I can reduce or eliminate the decimal places using
VBA?

thanks.

  #2  
Old April 8th, 2008, 04:53 PM posted to microsoft.public.access.forms
ANDY-N via AccessMonster.com
external usenet poster
 
Posts: 24
Default Percentage question and query definitions

I had the same problem with the crosstab creating too many decimal places.
You can do two things to eliminate the unwated decimal places. One is to go
into the properties of the field in the cross tab and change the format and
decimal place holders, the other way is to make a table from the cross tab
and change the format in the design. Hope that helps.

scubadiver wrote:
I have created a crosstab query using a definition in VBA that calculates the
percentage. Is there a way I can reduce or eliminate the decimal places using
VBA?

thanks.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200804/1

  #3  
Old April 9th, 2008, 08:40 AM posted to microsoft.public.access.forms
scubadiver
external usenet poster
 
Posts: 1,673
Default Percentage question and query definitions


I know how to do it in a query design grid but I am asking if it is possible
to do it in VBA.

"ANDY-N via AccessMonster.com" wrote:

I had the same problem with the crosstab creating too many decimal places.
You can do two things to eliminate the unwated decimal places. One is to go
into the properties of the field in the cross tab and change the format and
decimal place holders, the other way is to make a table from the cross tab
and change the format in the design. Hope that helps.

scubadiver wrote:
I have created a crosstab query using a definition in VBA that calculates the
percentage. Is there a way I can reduce or eliminate the decimal places using
VBA?

thanks.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200804/1


 




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 05:36 PM.


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