[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-Modules] Glue & Filemaker



OK my head hurts, Its time to stop and ask.

In my continuing effort to understand Perl/glue I've been trying to write a
script
to control Filemaker.

1) in the example is the line:
my @fields = $fm->get( $fm->prop(name => fields => gAll, database => 1));
Where does "get" come from. If I replace it with "get_data" (from the Pod) it
works just as well, but why does "get" work and not become confused with
"geturl"??

2) I want to do a simple find records. (Find in FM is far from simple).
The Apple script example is:

tell application "FileMaker Pro"
	delete every request
	create request with data {"1"}
	find
end tell

to delete the old find request I think I should use something like this:
$fm-delete($fm->obj(name => requests => gAll));
But this gets me no where. Anyone have any ideas??

and while you are at it how do you form the new find request???
#$fm-create($fm->obj(request, with data ????));
#$fm->find();

Thanks
Dave




==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org