Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Jun 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    527
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DT Picker Problems (AXP/A2K)

    Hello All,
    I have some strangeness occurring, hopefully someone knows the answer. I am using two DTPicker controls on a form that I have. When the form opens, code sets the value of the date picker control (Like this: dtpicker1 = now()) I am getting this error (only sometimes!); Run-time error 2763 - DTPicker returned the error: property is read-only.

    Does anyone have any ideas about this one?

    Thanks,
    Mark

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: DT Picker Problems (AXP/A2K)

    Which event do you use? If the code is in the On Open event, try moving it to the On Load event. This occurs later in the chain of events; sometimes the form is not "ready" when On Open occurs.

  3. #3
    4 Star Lounger
    Join Date
    Jun 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    527
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DT Picker Problems (AXP/A2K)

    Thanks Hans,
    I had some luck by deleting the allow additions / allow deletions = false from the form open code.

    Thanks,
    Mark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •