CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Save date

  1. #1
    Join Date
    Feb 2001
    Posts
    33

    Save date

    How can I store null date in a field which is of type datetime ?
    I've tried rs("applyDate") = "", it didn't work !!!



  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Save date

    Make sure the field accepts Null values, then do this:
    rs("applyDate") = Null

    Tom Cannaerts
    [email protected]

    The best way to escape a problem, is to solve it.
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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

Featured