>Because ?
SQLPrepare works for such backends as SQL Server. For VFP it might not work because in VFP it is not a real Server, it is just access to VFP database through VFP ODBC driver. So there might be no such thing as pre-compiling of SQl statements for VFP ODBC. Just try to do not use SQLPrepare(). Even if SQLPrepare() works for VFP ODBC in certain cases, I doubt it give any benefits.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.