Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using date()
Message
De
02/01/2002 13:10:18
 
 
À
02/01/2002 13:02:16
Robert Ross
Onsite Computer Services
Benton, Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00599827
Message ID:
00599836
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform