Thanks for the response.. I am querying an internal FMP database, so the first method should work (I am currently not at home, so cannot test right now).
If I understand you correctly, I can use SQL-syntax instead of the asterisk?
For example:
find mode
def field = * FROM table1 WHERE (field1 = "something")
execute find
??
And is there a particular type of script that I need to use for this purpose?
Thanks!
Pieter
Main Topics
Browse All Topics





by: lesouefPosted on 2008-02-24 at 02:20:31ID: 20969435
simply by writing a script.
are you query a filemaker database or an external SQL source?
for internal databases; simply use
find mode
def field = *
execute find
that's the same as a basic sql select *
for an external one, you need to import the sql records into filemaker with a SQL query which can be stored as well.
=> import, from SQL source, you'll get a tiny wizard where you can build up a query for non sql people to type directly the query.
this means you need to create an internal table to store the data before you can do anything else with it.
Other queries can be used using the SQL query script step. requires a DSN source to be setup first.