Skip 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.

Write information to a Log file?

Featured Replies

I have some scripts which I plan on using to convert an application from FM6 to FM7. First I import the data into the new FM7 databases. The scripts do things like fill in fields that are now mandatory, convert date formats etc. I would like to be able to create a log file containing information about this process ... similar to the one that FM7 writes when it converts databases.

I could write to a new database but I'd prefer not to do that. I have searched FM7 help for a hint on this, so I suspect it is not possible. Am I wrong?

First, I believe you can't directly import from 6 to 7. You can create an export .mer file and then import that file. To write out a log file, I use Troi File plugin which is easy to use and lets you append to an existing file. There are other File plugins, but Troi is relatively inexpensive and works.

Steve

  • Author

First, I believe you can't directly import from 6 to 7. You can create an export .mer file and then import that file.

Maybe I used the wrong terminology. What I meant to say is that I am importing from a database that was designed for FM6 and which I converted to FM7 (by just opening it in FM7).

Thanks for the tip about the plug-in. I'll look into that.

No, you used the right terminolgy. I don't believe you can import directly from 6 to 7. If you look on the Import screen's list of acceptable file types, you'll find '.fp7', but not '.fp6'

Steve

Edited by Guest

You could write your log to a global text field and export it at the end. No plugin is required for this.

  • Author

I decided to write the log file to a conversion database, since there was no way of writing directly to a file without a plug-in. And the global text field would have created different problems.

Thanks

I decided to write the log file to a conversion database, since there was no way of writing directly to a file without a plug-in. And the global text field would have created different problems.

Thanks

You're on a Mac apparently and you don't need a plugin to use applescript which can perform a simple shell script to write/append a text file.
  • Author

Unfortunately, although I am on a Mac, the system I am developing will be deployed on Windows, so I cannot use any Mac exclusive features.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.