Results 1 to 2 of 2

Thread: error in datepicker conrol

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2001
    Location
    Pune,India
    Posts
    37

    Question error in datepicker conrol

    hi,
    I have a form which has controls (like textbox,checkbox,DatePicker) connected to an ADODB.Recordset using the controls Datasource property. The problem is that if the field(from a table) connected to the datepicker control is empty (i.e. Null) i get an error message
    "Unable to Bind to Field or DataMember".
    Is there a way around this?

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    I think this may be caused by having AllowNulls (or similar) set to False for the field in the db. Change it to true and it should solve the problem.

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