I'm in the process of converting from Access using dbGo to MySQL using Zeos. These lines:
if locate('Date', datetostr(date), []) then
Edit
else
Append;
worked with Access to edit a record if it exists with todays date or add a record if not but it doesn't work with MySQL. Could someone let me know what might be wrong? I assume it's a date format problem or some such?
Many thanks,
Ken
Locate by date
Moderators: gto, cipto_kh, EgonHugeist