Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / February 2005

Tip: Looking for answers? Try searching our database.

Format a text box in a sub-report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FMP - 24 Feb 2005 19:11 GMT
I am attempting to set the format of a text box in a sub-report to Percent.  
When I click on Format in the properties, my pull down menu list is blank.  
Typing in Percent does not work either.  Changing the format in the query
that supplies the information does not work either.  The field that I am
trying to format is an expression that divides the sum of one field by the
sum of another field with an IIF statement in case the denominator is 0.  Any
suggestions?
Duane Hookom - 24 Feb 2005 20:19 GMT
Wrap your IIF() in the Val() function so you have something like
YourColumn: Val(IIf([FieldA]=0,0,[FieldB]/[FieldA]))

Signature

Duane Hookom
MS Access MVP
--

>I am attempting to set the format of a text box in a sub-report to Percent.
> When I click on Format in the properties, my pull down menu list is blank.
[quoted text clipped - 4 lines]
> Any
> suggestions?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.