?
Solved

DT Picker validation event causing problems

Posted on 2003-03-31
4
Medium Priority
?
212 Views
Last Modified: 2013-12-26
The date time pickers I have on a SSTab are not behaving the way they should.  If the validation event fires the focus will remain on the control as  long as the user clicks on any control in the tab or anywhere on the form.  However, if the user clicks on another tab or indeed on the label of the current tab the date control will lose the focus and the user can continue.

Is this a problem with the DTPicker or the Causes Validation property of the SSTab?

I already have up to Service Pack 5 installed.

Any advice greatly appreciated.

0
Comment
Question by:syerston
[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
4 Comments
 
LVL 5

Expert Comment

by:JohnMcCann
ID: 8238013
I think your problem is neither of your suggestions.  During the Validate you are setting Cancel = True which forces the focus to remain on the control.  To prove this comment out the code in the Validate event.  This is not a problem it is what it is there for.


Hope this is of some help


John McCann
0
 

Accepted Solution

by:
syerston earned 0 total points
ID: 8238049
It's okay John.

I've found a link on MSDN.  It is a problem with the SSTab control.

http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B313834

Thanks for your reply
0
 
LVL 5

Expert Comment

by:JohnMcCann
ID: 8238961
It's ok
0
 
LVL 6

Expert Comment

by:GPrentice00
ID: 9053360
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

 -->PAQ - with points refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER

GPrentice00
Cleanup Volunteer
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month11 days, 13 hours left to enroll

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