Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communicate with access
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00972392
Message ID:
00972729
Vues:
19
Again you are right! I had tried "'NULL'" and failed.


Now it's working like a charm. But in good ols VFP ways there isalways more than one solution.
Could this whole thing be done with a Cursor Adapter?

Thanks again

Peter


>Well, thanks to you I was able to find something that I did not know before:
>This works for me:
>
>sqlexec(gnConnHandle,"insert into table_name (flddate) values (" +;
>	iif(isnull(date_value) or empty(date_value), ;
>               "NULL", ;
>               "'"+dtoc(date_value)+"'")+")" )
>
>
>
>
>
>>so you are passing dates a character. hmmm.
>>
>>But it works! except for blank dates. THEN IT CHOCKES.
>>How does access want blank dates?
>>
>>Thanks
>>
>>Peter
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform