Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Communicate with access
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00972392
Message ID:
00972729
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform