Jump to content

jondolar

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jondolar

  • Rank
    novice
  • Birthday 05/04/1946
  1. jondolar

    array in a Fm script

    Hi Georges Arrays are not supported in FMP. What are you trying to do exactly? Tell us more if you want us to help you. Serge
  2. Hi You'r right The link works now and the plugin works beautifully. Thanks
  3. Hi Charles Your link for runscript is dead Serge
  4. jondolar

    Add new portal row below selected row

    Hi Shana I think I gave you a simple and viable solution to your problem in an earlier post. Would you care to comment, to ask questions? Regards Serge Just trying to help
  5. jondolar

    Add new portal row below selected row

    Ugo This has been working for 5 years in an order taking solution for an audio-visual material renting outfit. Serge
  6. jondolar

    Add new portal row below selected row

    Hi Shana It is entirely possible to insert a portal row wherever you want. Here how I did it. First you should have a little button on say the extreme left of your portal rows that trigger a script. The script goes roughly like that. Assume that you have 3 related fields per row, you have to create 3 global temporary field in the child file. The script will essentially go to the row before the last portal row (the empty one)and through a loop, moves down the content of each field. Set a global field gcounter Status(CurrentPortalRow) Goto last portal row Set a global field glastportalrow Status(CurrentPortalRow) if gcounter >= glastportalrow exit record request exit script end if goto portal row previous (Select entire content) loop set field gtemp1 field1 set field gtemp2 field2 set field gtemp3 field3 goto portal row next (Select entire content) set field field1 gtemp1 set field field2 gtemp2 set field field3 gtemp3 goto portal row next (Select entire content) exit loop if status(CurrentPortalRow)= gcounter goto portal row previous (Select entire content) end loop clear field1 clear field2 clear field3 That's it Not very elegant but it works. Good luck Serge
×

Important Information

By using this site, you agree to our Terms of Use.