Results 1 to 3 of 3

Thread: Null dates allowed

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 1999
    Location
    Littlehampton, W Sussex GB
    Posts
    203
    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?

  2. #2
    Hyperactive Member
    Join Date
    Feb 2000
    Posts
    284
    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

  3. #3
    Lively Member
    Join Date
    Aug 1999
    Location
    Blackpool, England
    Posts
    87
    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
  •  



Click Here to Expand Forum to Full Width