Newbies Gomme Posted January 8, 2015 Newbies Posted January 8, 2015 Hello, When I run this query: ExecuteSQL ( "select * from Emplacement where NoTerrain = '3' "; ""; ""; "" ) It works. The recording are displayed. However, when I run this query: ExecuteSQL ( "delete from Emplacement where NoTerrain = '3' "; ""; ""; "" ) Error... I get ? as a result, and the query does not work. Could someone explain me the problem ? Thank you for your time.
Wim Decorte Posted January 8, 2015 Posted January 8, 2015 you can't. ExecuteSQL() can only do SELECT http://www.filemaker.com/help/13/fmp/en/html/func_ref3.33.6.html#1062707
beverly Posted March 6, 2015 Posted March 6, 2015 Wim is correct - you can only SELECT with ExecuteSQL(). However if you've "found" the records based on the query, then you certainly can DELETE those found records by script.
Recommended Posts
This topic is 3605 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now