troubleshooting Question

Access VBA Null Date

Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft AccessVBA
6 Comments4 Solutions23 ViewsLast Modified:

I am gathering a date from an Access textbox that is formatted as such.How would I use Nz to make provision for an empty textbox ? I want to change null values to "Null" that can be used in a SQL statement

Dim oLicenceExpiryDate As String: oLicenceExpiryDate = Format(Me.LicenceExpiryDate, oDateFormat)
Join our community to see this answer!
Unlock 4 Answers and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 4 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros