On 23 sep, 12:56, Howard Schlossberg
<how... (AT) nospam (DOT) fmprosolutions.com> wrote:
Quote:
Bizouman wrote:
When using scipt step setVariable [$no; table2::contract_No]
it's only returning the 1st record from the relation.
If you just want to put the multiple related records into a single
variable, you can use the list() function, as in:
setVariable [$no; list(table2::contract_No)]
This assumes you are using FM 9 or 10. *For versions 7 or 8, you would
have to define a custom function to do the same thing. |
Haaa thank you, that was the fonction I was looking for.... I'm new to
version 9/10 so I didn't know that one !!
and to reply to Howard, I already have script step using pop-up window
with portal and user select from the list, but to manage user going
into another window and click something else and all that scripting
for my non-expert skills for my in house solution is getting out of
control, I will use the free plugin Dialog that can make a dialog with
a list, and a selection return, way more easy, also can make that with
1 script line instead of a never ending list of open new windows go to
layout etc etc.
JF