Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Exporting a found set of records to a new record

Featured Replies

I have a list view which includes simple calcs that I can first sort by manufacturer (with up to 25 products, for example) and then limit that sort by further criterion -- I want to take the data from that last found set of records and create a new and permanant record in a new layout (in a new file, if necessary).

So you want to combine a group of records into one record? I would probably loop through and set the data into a global field, then go to your new record and set the global into it. Something like:

Set field [gNotes, ""]

Loop

. Set field [gNotes, Data & "

  • Author

I am not sure of some things ....

in the first line, is there anything between the quotation marks?

what's "

Huh? I think you have a serious problem with nomenclature.

1 ) Do you mean a list view displaying simple calculated FIELDs?

2) Do you mean "Find" by manufacturer then limit that "Find" by further criteria?

3) Do you really mean you want to take multiple records and create one record in the same file (how?).

4) I'm not sure what you mean by a "permanent record" or by creating a record in a layout. Records are not created "in a layout". Records are created in a file (FM6), independent of which layout you are on.

Maybe you can clarify your question by describing what you are trying to do (without jargon).

-bd

  • Author

1) yes

2) yes

3) not the same file -- new layout in a new file (for a PO)

4) see 3

I am trying to understand "Fitch's" script offering.

I have a file with over 200 records for "rings" with a record for each item and its associated attributes, like stones, etc., offered by a pluraity of manufacurers.

I can also see these records in a list view with specified additional criteria including a set of calcs for the ones I would like to purchase from any one maufacturer by type, etc.

In the list view I can do a find first for a specific manufacturer creating, say 45 records of the different types of rings, and then a second find by further criteria creating a set of, say four records.

I would like to create a PO that is a new record (in a new file) of all the data contained in that second find, ie. the data of those four records with the heading of the chosen manufacturer, the types of rings I chose as well as the data associated with the four records.

If I use the script "copy all files" -- I only get text. If I import the found set, I get four records again.

I need all the data from the four records, in this example, in one new record in a new layout in a new file....

There is nothing between the quotes -- we're just setting the global field to empty before we start looping through the records.

"

Merk I think you are on the wrong track. You should have one PO table with a related PO Item table and the 4 found records should be imported into this table after creating the "parent" PO reord. You do seem to be mixing up concepts considerably, like files and records.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.