Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using date()
Message
From
02/01/2002 13:10:18
 
 
To
02/01/2002 13:02:16
Robert Ross
Onsite Computer Services
Benton, Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00599827
Message ID:
00599836
Views:
11
>I simply want to put the system date in a field in a table.
>The field IS DEFINETLY set up as a date data type.
>However, the table designer will not allow more than 8 characters for this type of field.
>I use:
> REPLACE dsjn.req_date WITH date()
>The code kicks back with a 'data type mismatch' error.

The code is correct. The error says that "dsjn.req_date" must not be date format.
Are you sure you set it correctly? Does "? VARTYPE(req_date)" return a "D"?


>I've tried 'SET CENTURY OFF' no, avail...any suggestions?
SET CENTURY has to do with display not with internal date representation.

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform