Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank datetime field
Message
From
17/10/2006 22:59:34
 
 
To
17/10/2006 22:52:59
Arjun Bagojikop
Dynamic Super Software
Sangli, India
General information
Forum:
Microsoft SQL Server
Category:
Database management
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01162805
Message ID:
01162806
Views:
15
>i am vfp programmer using sql 2000. i have created cursoradapter in my dataenvironment using cursor in from. my user fill blank date
>after cursor updated store datetime in sql '01/01/1900 12:00:00 am'.
>user want to store blank datetime i have try to save null value. when user adding new record default null but user go on datetime text box mistakly type date. he want no need date here,he arase date and saveing record but datetime have been stored in sql
>'01/01/1900 12:00:00 am'.

You can use this function to generate a blank date:
        ' Return an empty date
        ' expT1 Date
        Public Function GetEmptyDate() As Date
            Return New Date(1899, 12, 30, 0, 0, 0)
        End Function
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform