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.

Best Way to Archive and add to a big file?

Featured Replies

Hello

I have an event each week that constitutes the file I am using. The file is called registration and it interacts with several other files for lookups etc. The group used to keep the whole thing in a file and it got so big that the printing was a real time thing.

We want to get rid of the big file and just have a little file that we back up to the bigger file/

The little file will be empty at the beginning of the weekly event and then grow to 300 records of so. At the end of the event we want to make a script that will automate the merging of the little file into the archive. Any suggestions on doing this the best way with a script?

Thanks

STAN

Hi Stan,

If your archive file matches the 'live' file in structure (same fields, same names etc), then you can simply create a script in the archive file which imports the found set from the current file using the 'matching records' option.

Then you can create a script in your current file which archives the current batch of records to get ready for a new week. Something along the lines of:

Show Message ["Are you *sure* you want to archive all the current records?" "Cancel", "Archive"]

If ["Status(CurrentMessageChoice) = 2"]

Show All Records

Perform Script [sub-scripts, External: "Archive.fp5"]

Delete All Records [No Dialog]

End If

- where the external script at step four calls the import script in the archive file.

Whenever the script is run it will leave you with an empty file ready for a new batch of records, and the previous batch will be in the archive file instead (where they will appear as the found set until the file is closed). cool.gif

  • Author

Thanks Ray

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.