473,395 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problem with DTPicker

Hi,

I am developing a simple application in VB.
I have one DTPicker on my form.

If the value of DTPicker is not mindate of DTPicker, It should not be allow us to enter any value earlier than the exitsing value of DTPicker.

Ex:
My DTPicker value is : 1/15/2008
It should not allow any date which is earlier than 1/15/2008 (like 1/14/2008).

Is there any suggestion on this? Please help me out on this.

Thanks in advance.

Regards,
Venkat.
Jan 18 '08 #1
1 1759
QVeen72
1,445 Expert 1GB
Hi,

Set the "MinDate" of datepicker to whataever date you want,
it will not allow you to pick previous date..

Regards
Veena
Jan 18 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Theo | last post by:
Hi Guys, A silly question really, but how do I get the value of a DTPicker. I just need to get the value in session variable and display it on a different page. -----------------------------...
1
by: Patrick.Everard | last post by:
I am designing a booking system for a college project. I have a dtpicker on the booking form but the date does not save. e.g. if i cange the date to 31/4/2006 when i switch to the next record that...
5
by: dwadish | last post by:
Hai guys ! i am razak want to debugging my bug. i want to search a recordset field continueously when matching it to a value of a dtpicker.value. i am also used this code for it but it is...
2
by: siyoyok007 | last post by:
Hello, I'm developing simple system, that needs the use of DTPicker. For my system, i have placed two dtpicker, which means DTPicker1 and DTPicker2. The DTPicker1 will be used as starting date and...
1
by: psuaudi | last post by:
I have a form that I was creating and I wanted to use the microsoft date and time picker. in the On_Load event for the form, I want to set the date and time picker value to Now() Private...
8
by: Sid666 | last post by:
Hi, everyone I'm building an Access DB system using VBA. I have a ActiveX DTPicker so the user can select a date. This date is put in another textbox that is bound to a table. I do this because...
4
by: virusingh | last post by:
q.1How to use DTpicker in vb6 add , difference, between two date e.g one employee date of birth is 15/1/1987. and how we will use dtpicker to calculate its retirement date after completion a...
4
by: sreegans | last post by:
Hi.. I'd a problem while using the DTPicker in VB form. While executing the sql statement, cn.execute "insert into empdetails values(' " & DTPicker1.value & " ')" Got the error as...
6
by: rudeman76 | last post by:
Hi, I have a form that is a daily log. I use dtpicker for the user to enter in the time. At form load, I set the time as the current time. The problem i am having is when the user changes the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.