>At 14:51 +0200 2000.07.25, jean-michel meyer wrote: >>> my $num = $fm->count( $fm->obj(database => 'your_db'), class => >>>'record' ); >> >>I did try that method but i allway get "something not avaible", and with >>your exemple : >> >># 'class' parameter not available > >Hm. Did you run the gluedialect script? Is there anything in your >:site_perl:Mac:Glue:glues:dialects: folder? The FMP4 glue and it's pod of course :-)) I change your code to : my $num = $fm->count( $fm->obj(database => 1, class => 'record' )); And i get ? Just nothing ! no error... Funny isn'it ? Seriously, i try the AS : $num = MacPerl::DoAppleScript(<<CESTFINI); tell application "FileMaker Pro 4.0" return count record of database $file end tell CESTFINI print "$num records. \n"; 6302 records. what work fine. So the problem is around how to get the returned value using the glue. Any sugestion ? > >-- >Chris Nandor MJM # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org