Ok quick explanation of NUll vs 0 value
Ok if you have an integer variable called iNumber and set it to 0, then you are not setting it to NULL, you are setting it to the value 0. O is an acceptable number, NULL is the absence of a value.
Quick example
A Warehouse has records for each product in stock. Product A has a QOH value of 0, this means that there is no stock on hand. If Product A had a QOH value of NULL, that means there has never been stock kept of the product. Pedantic but important distinction in commercial coding.
In code terms, (if not using masked Edit box which has it's own insane rules), you would code something like
Code:
txtQOH = "" & iNumber
This by-passes the "Invalid Use of Null" error message.
Now as to dates, what do you actually mean by a null Date. Do you mean NULL or do you mean a default value. Once again if you are not using the masked edit box then you can code
Code:
txtDate = "" & dDate ' which can be formated to your requirements
Hope that helps you out a bit, post what you need the "NULL" date to represent, the possible absence of a date, or a default date.