|
-
Nov 16th, 2000, 08:31 AM
#1
Thread Starter
Addicted Member
I have a text box linked to a data control date field which may or may not be present - If I blank it out and then update I get an error how do I create a null date in my text box?
-
Nov 16th, 2000, 08:36 AM
#2
Hyperactive Member
If there is a possibility that you are going to be setting a text box value to a null field value you should include double quotes before hand as follows
text1 = "" & recordset!myDate
-
Nov 16th, 2000, 08:37 AM
#3
Lively Member
Has the database field got AllowNulls? set to NO if it has set it to YES. This will allow you to update the field with a NULL value
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|