Lesson 3: What is wrong with my SQL syntax?
Posted: Tue Dec 31, 2013 2:58 am
Im trying to make Direct MySQL to make the search, after watching the video a couple of times and "making sure" that im copy the things right i still i get this:
revdberr,You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIKE '%'ach%' OR lastname LIKE '%'ach%'' at line 1
Also i have not been able to load this:
specialFolderPath("documents")& "/contacts.sqlite" into tDatabasePath
So its been impossible to make the first button (SQL lite) to work.
I dont know anything about SQL, so any answer please make it very easy.
Attached is the file
Thanks
revdberr,You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIKE '%'ach%' OR lastname LIKE '%'ach%'' at line 1
Also i have not been able to load this:
specialFolderPath("documents")& "/contacts.sqlite" into tDatabasePath
So its been impossible to make the first button (SQL lite) to work.
I dont know anything about SQL, so any answer please make it very easy.
Attached is the file
Thanks