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 / January 2006

Tip: Looking for answers? Try searching our database.

change value of a textbox in report via vba

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
k2sarah - 18 Jan 2006 16:51 GMT
is it possible to change the text shown in a textbox of inside a report via
vba. i.e. i desire to program that if the current value of a field is NA,
then on my report i want to display "-". if so how can i do this. thks ken
John Spencer - 18 Jan 2006 17:08 GMT
Change the source of the control to
  =IIF([SomeField]="NA","-",[SomeField])

Make sure the control's name is not the same as the field name.  You can
probably just change the control to "txtSomeName"

> is it possible to change the text shown in a textbox of inside a report
> via
> vba. i.e. i desire to program that if the current value of a field is NA,
> then on my report i want to display "-". if so how can i do this. thks ken
 
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.