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

Re: [MacPerl] Mac::Glue



At 4:43 PM -0400 8/26/99, strider corinth wrote:
>>I think [the syntax] is reasonable.
>
>Yeah, me too. It's really pretty AppleScript-like, if you take out all the
>parens and brackets. It isn't entirely clear from the pod what object
>contains what (since it uses the four-letter code for each object instead
>of the object's name, and one has to go do a find for it), but other than
>that I'm pretty happy with it.
>
>I have another problem now: I can't get it to 'show' except if the record
>is currently being displayed (i.e. it came up in a find request or I just
>did a 'find all'). My AppleScript command works just fine, even when the
>record isn't currently being displayed. So I figure I shouldn't need the
>Find All in the first place, but can't figure out how to get by without it.
>Here's the code I'm using for each:
>
>---
>$filemaker->show($filemaker->obj('records' => whose(AND =>
>    ['cell' => 'id' => equals => $username],
>    ['cell' => 'date' => equals => $date])));
>- -
>show (every record of database 1 whose cell "id" = username and cell "date"
>= rdate)
>---
>
>So- even though it's slower, I've been trying to do a "Find All" (I don't
>want to do a do_menu, for "that's cheezy"ness' sake). Nothing has worked
>for that either, including this:
>
>$filemaker->show( $filemaker->obj( records => gAll => document =>
>'Database' ) );
>
>I think the Find All issue might be related to what records are showing,
>just like the show problem is.

This is apparently a *FileMaker* issue, and not a glue or MacPerl issue.
It works the same way (that is, doesn't work) in AppleScript.

-Jeff Lowrey



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