Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I have answered some questions and have gotten answers for my questions. Anywhere you can do this on one page helps tremendously..."

Geography

Where in the world do Tek-Tips members come from?

Empty Date returns current date!!! How to check for Empty values

coolkk (Programmer)
27 Mar 08 15:57
Hello,
Empty Date parameter returns current date, i need to validate the date entered,  how do i find out value is not entered.

I can not make them REQUIRED, there are 2 dates and 2nd one required if 1st one entered like that.

thanks,
KK
ASG0856 (Programmer)
28 Mar 08 7:36
You could always give the first prompt a ludicrous default date that would never be used (say 1st Jan 1900) - then check for that and process as required
coolkk (Programmer)
28 Mar 08 8:39
Thanks alot. yes i thought..
But default value shows up in the screen that might confuse users..bec it is Option Date search field.

what i did is ..empty date field is returning Current Time,
So in my Start() method i check for  =Time ,If so then i assume user not entered any date. So right now its working
but i did not upload to system and check it.May be system Time and Input default time may be different, i am not sure!!

If user enters something then only that Date will come not Time ,So i am making use of that ..(but thr is a option where user can select timestamp!!!,if he did then i am gone:))
dayanand24 (TechnicalUser)
8 May 08 16:00
you can check this at the start methoda of the report if the date is blank ther then convert it string and assign blank value to it. I think dis is the way it will work out.  

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close