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 Programming / January 2005

Tip: Looking for answers? Try searching our database.

Problem with the utilisation of NULL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Smith - 31 Jan 2005 20:14 GMT
Dim ctl As Control
Dim blnEnabled As String

blnEnabled =  NULL
For Each ctl In Me
If ctl.Tag = "ClearAll" _
Then ctl = blnEnabled
Next ctl

Can anybody tell me what's wrong with this code????

I'm always getting an error message saying that I'm not using NULL
correctly???

Thanks

JS
Dan Artuso - 31 Jan 2005 20:57 GMT
Hi,
The only variable type that can be NULL is a variant.

Signature

HTH
-------
Dan Artuso, MVP

> Dim ctl As Control
> Dim blnEnabled As String
[quoted text clipped - 13 lines]
>
> JS
 
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.