|
-
February 19th, 2000, 12:06 AM
#1
This is wierd....
Hi,
I have three forms and each has a textbox for date. When i add a book to the database through the add form and when i update that same record with the help of the edit form that i created i get a default date 1/1/1900 in the date textbox in the delete form. What the hell is this date and where is it coming from?Can anyone tell me how do i get rid of this problem.
Thanks alot for any help,
Derek
-
February 20th, 2000, 01:24 AM
#2
Re: This is wierd....
If you are using SQL Server, when changing a record field that contains a date (or creating one for that matter), if you pass an empty string "" SQL Server defaults that date field to 1/1/1900. If you want a date field that has no date in it you must pass null.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|