dbTalk Databases Forums  

Returning multiple values from a Filemaker plugin

comp.databases.filemaker comp.databases.filemaker


Discuss Returning multiple values from a Filemaker plugin in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Abhi
 
Posts: n/a

Default Returning multiple values from a Filemaker plugin - 11-11-2005 , 11:03 PM






Hi All,

I want to write a FM7 plugin which will take an image from a container
field as input, read its header and display the various header contents
in different text fields. I was wondering can a plugin return multiple
values and if yes, then how do we access them in FM7?

I was thinking of setting the calculation field to be a repetition
field, but then how do I set the individual fields to specific output
from the plugin.

Thanks,
Abhi


Reply With Quote
  #2  
Old   
42
 
Posts: n/a

Default Re: Returning multiple values from a Filemaker plugin - 11-12-2005 , 02:02 PM






In article <1131771794.283285.236680 (AT) f14g2000cwb (DOT) googlegroups.com>,
abhishika (AT) gmail (DOT) com says...
Quote:
Hi All,

I want to write a FM7 plugin which will take an image from a container
field as input, read its header and display the various header contents
in different text fields. I was wondering can a plugin return multiple
values and if yes, then how do we access them in FM7?
A plugin can expose multiple functions. Each function can return its own
value. Or you could simply return all the values in a 'list', and parse
it in FM.

Quote:
I was thinking of setting the calculation field to be a repetition
field, but then how do I set the individual fields to specific output
from the plugin.
That I couldn't tell you. I don't deal with repetitions much. And never
from a plugin.


Reply With Quote
  #3  
Old   
Abhi
 
Posts: n/a

Default Re: Returning multiple values from a Filemaker plugin - 11-12-2005 , 06:48 PM



Hi
Thanks for the reply. Can you please elaborate on parsing the list in
FM?
I am new to Filemaker developer and don't really know much about
plugins.
I tht of using multiple functions as a way out if nothing else turns
up. Also I tht of using the dataVect class to return multiple values
from the plugin to filemaker. But am not sure how to interpret the
multiple values in FM. Can you please help me out with this one?

Thanks a lot,
Abhi


Reply With Quote
  #4  
Old   
42
 
Posts: n/a

Default Re: Returning multiple values from a Filemaker plugin - 11-12-2005 , 10:16 PM



In article <1131842889.539633.291860 (AT) g49g2000cwa (DOT) googlegroups.com>,
abhishika (AT) gmail (DOT) com says...
Quote:
Hi
Thanks for the reply. Can you please elaborate on parsing the list in
FM?
Return a list of values as text:

1
23
35
46
57
68

Then use the filemaker functions: countValues, getValue, etc to get what
you need.

Quote:
I am new to Filemaker developer and don't really know much about
plugins.
I tht of using multiple functions as a way out if nothing else turns
up.
Not sure what your application is specifically, but multiple functions
is the most natural way of handling multiple return values that I can
think of.

Quote:
Also I tht of using the dataVect class to return multiple values
from the plugin to filemaker. But am not sure how to interpret the
multiple values in FM. Can you please help me out with this one?
I honestly haven't done much with plugin development with filemaker, I
don't know the specifics of te dataVect class nor what it can do, or how
it might be mapped to a repeating field, or if that is even possible.

best regards,
Dave


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.