Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert with a date
Message
De
31/05/2006 16:24:21
 
 
À
31/05/2006 14:36:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01126253
Message ID:
01126312
Vues:
23
>i cannot use this way. because i have a invoice table in foxpro. each time that a user save an invoice , i save it in the foxpro and i make a copy in my sql server table with a insert or an update ( i dont transfert all fields ) . In my vfp table i have a record name Voided_dte ( a date ) but it always empty except if the invoice is voided. So 98 % of the time this record is empty. So when i do the update or insert it put 01/01/1901 in my sql server. How can i put null or something else

Use EMPTY() function inside your tranlation of values:
<<IIF(EMPTY(yourdateval),null,yourdateval)>>
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform