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 / Forms / September 2006

Tip: Looking for answers? Try searching our database.

set value to blank in a macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob - 15 Sep 2006 17:32 GMT
I would like to change a field to a null value if a condition exists.  If a
checkbox = no or is not checked i would like to create a macro that would
change the adjacent field to blank.  I tried using setvalue in a macro and
creating spaces but the spaces are viewed as data.  Please help

Rob
Barry Gilbert - 15 Sep 2006 17:58 GMT
Instead of using blank spaces, use Null for the expression property.

Barry

> I would like to change a field to a null value if a condition exists.  If a
> checkbox = no or is not checked i would like to create a macro that would
> change the adjacent field to blank.  I tried using setvalue in a macro and
> creating spaces but the spaces are viewed as data.  Please help
>
> Rob
 
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.