CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Location
    Brooklyn, NY USA
    Posts
    171

    Update with Null

    How to update the Date or other type field in Access db with Null value? After that I'd like to see empty cell, the same as it was before something was entered in that field.
    Thank you
    Vlad


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Update with Null

    did you try

    yourRecordSetVariable.Edit
    yourRecordSetVariable.fields("yourfield").value = null
    yourRecordSetVariable.Update



    ?


  3. #3
    Join Date
    Apr 1999
    Location
    Brooklyn, NY USA
    Posts
    171

    Re: Update with Null

    I'm stupid. I tryed everything (VBNullDate, VBNullString, "" and so on) except this.
    Thank you very much
    Vlad


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