Jump to content

GFS

Newbies
  • Posts

    2
  • Joined

  • Last visited

Everything posted by GFS

  1. That's true. 🙂 ___________________________________________________________________ This is very easy and is at its easiest using a CF. Some long-time FM users seem to think this clever lady should get the FM equivalent of a Nobel prize. 😊 You can achieve the same with a summary field or loops, but why bother, since this CF is soooo useful. NB, it won't work for Portals, but FM's 'List' does, as it will with a summary field. Make a new TO (storeTO) and add a Global text field (store_g). It doesn't need any other fields. Create a New Record in storeTO (it must have a record to work) Make a relationship between the storeTO::Global and whatever TO your window is using. (E.g. storeTO::store_g ↔ windowTO::UID) To move the Found Set from one window to another: Set Field [ storeTO::store_g ; CustomList ( 1 ; Get ( FoundCount ) ; "GetNthRecord ( windowTO::UID ; [n] )" ) Select Window [ Name: "MyOtherWindow"; Current file ] Go to Layout [ “storeTO” (storeTO) ] Go to Related Record [ From table: “windowTO”; Using layout: “MyLayout” (windowTO) ] I actually have a 2nd 'store' TO for storing individual windows, which creates/deletes records as windows are opened/closed. This stores various data pertinent to each individual window, e.g. I have back/forward buttons for searching/returning to previous found. It's really easy to do this with Agnès Barouh's clever CF. There are plenty of alternatives to her's, but her's is non-recursive, able to deal with millions of records and generally high-fived by some FM smartypants, which is good enough for me, as an 'intermediate-level'.
  2. It's a long time ago, but wondering if you found a solution? If not, then I can suggest a 4 line script, with a single additional TO. Works well and is very fast.
×
×
  • Create New...

Important Information

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