Results 1 to 2 of 2

Thread: How to delete the datetime field

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    brooklyn
    Posts
    48

    Red face

    I have a textbox and ado data control on a form
    The textbox is using the ado control and its datafield
    is HireDate, which is datetime field on the sql table.

    when I try to delete the date shown in the textbox, then click the ado data control's movenext button.
    the ado control give me error message:

    "change is canceled during notification, no column are changed"

    after the massage, the date I try to wipe out come back to the textbox again.

    Anybody know how to delete the date? Please kindly tell me.

    Thank you very much for your time.

    The AllowNull is checked on the field

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Location
    Fort Lauderdale, FL USA
    Posts
    112
    You have to trigger the Update Event. Something like:

    Public Sub cmdUpdate_Click()
    adodc.update
    End Sub

    Also, be certain that you are not connecting to your database as "Read-Only".
    Damonous

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