Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date type
Message
From
01/08/2006 11:00:28
 
 
To
31/07/2006 16:42:03
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01141936
Message ID:
01142105
Views:
7
The Date and DateTime fields in MySQL tables are stored like characters, e.g. date is stored as "2006-08-02". When cursoradapter retrieves empty dates, it gets changed to NULL. I had a similar issue a few days ago. The date field in MySQL table was empty (shown as "0000-00-00" in MySQL table). When I put the current date (Date()) in the cursoradapter's cursor and ask it to update the remote data, the command would fail. As a quick workaround, I avoided empty dates in MySQL table.

You may like to have a look at the command the cursoradapter send to have better understanding of the problem.
- Ravi Taxali
Visual FoxPro Made Simple An excellent book for beginners as well as experienced programmers
Never Forget Again. Setup Email Reminders.
Previous
Reply
Map
View

Click here to load this message in the networking platform