从VFP 9连接到MySql
lnTestForExisting=SQLEXEC(m.WorkingDatabase, "SELECT student_id, date_treated, where_treated, treatment, id AS CloudId ;
FROM medical WHERE school_id=?lcSchoolId AND downloaded_to_desktop!='Y'","StudentsMedFromServer")
工作精细数据就像我应该使用此时将更新发送回服务器时那样下载
lnGoodServerUpdate=SQLEXEC(m.WorkingDatabase,"UPDATE SET medical downloaded_to_desktop='Y' WHERE SchoolId=?ServerSchoolId and id=?lnCloudId")
生成语法错误,并说错误在Where子句附近 - 在ServerSchoolId中的值被报告为_lati(然后它被切断我认为这个词是_latin)
TIA