?
Solved

DTPicker losing Control Source

Posted on 2002-05-09
3
Medium Priority
?
550 Views
Last Modified: 2007-12-19
I have an Access 97 app which uses the MS DTPicker control for updating a Date/Time field.  The DTPicker control is bound to a field named EffectiveDate.  The database resides on an admittedly inadequate server and is used daily by 6 users.

Occasionally (maybe once every couple of months but recently much more frequently) the DTPicker control loses its Control Source property value.  It is suddenly no longer bound to the EffectiveDate field.  <eerie music plays in background>

Any ideas?  I will gladly provide additional info upon request.
0
Comment
Question by:lmerrell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
dougp23 earned 400 total points
ID: 6999345
Well, if you just want a bandaid, write a little script that fires off say every 30 minutes or so.  The script would simply tell the control what its control source is.  (I did this once with a combox box.  Required a form to be open, as I tied it to the form's timer control, but you can use TIME to evaluate how many seconds have passed, and after , say 5000 seconds, tell the control what its control source is again.)  You wouldn't get an error, even if it already had the right control source and you told it the same thing again.  
0
 
LVL 7

Author Comment

by:lmerrell
ID: 6999502
That could be of some temporary help, doug.  Although, I would probably put the Control Source update in the Current event of the form which would guarantee its update more often.  But, I would really like to figure out what is causing this behavior in the first place.

I will post you an additional question with points for your bandaid solution later.  I'll post a link to the Q here.
0
 
LVL 7

Author Comment

by:lmerrell
ID: 7008686
Well, I haven't had any other input and the updating of the Control Source in the Current event appears to be working quite well so the points are yours Doug.

Thanks for the input!

Guido
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question