Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank Date
Message
From
22/08/2002 12:19:31
 
 
To
All
General information
Forum:
Visual Basic
Category:
COM, DCOM and OLE automation
Title:
Blank Date
Miscellaneous
Thread ID:
00692511
Message ID:
00692511
Views:
66
My team is writing a VB Component that validates data for VFP tables. How do I validate that a date attribute on a class is Empty.

FoxCode
vbObject.Mydate = CTOD(" / / ")

VBCode
IsDate(MyDate) returns True
IsEmpty(MyDate) returns False
IsNull(MyDate) returns False

I need a function that says yep its a date and yep its blank/empty.
Terry Rooks
Software Systems Architect
Microsoft Certified Solution Developer.Net

If at first you don't succeed, then skydiving definitely isn't for you.
Next
Reply
Map
View

Click here to load this message in the networking platform