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.

Export to file using alias

Featured Replies

I am trying to upgrade multiple instances of the same DB with a new version of the DB (improved scripts, layouts, etc.). I added a script to each DB instance which allows me to export all relevant tables from the existing DBs. I can then start the new DB version (blank) and import the tables/data back. As I cannot dynamically assign file names to the exported tables and I don't want to have to change the export/import file references manually, I decided to export all tables to a folder with the static name 'export' and therefore I can reference the same path for the import. But in order to keep tables from different DB instances separate I created an AppleScript that

  • creates a folder with the name of the DB 'export <DB name>'
  • creates an alias called 'export' pointing to the DB specific export folder created in the previous step
  • exports all tables using file reference 'file:export/<table name>' as output file

But when I tested my FM script I keep getting errors ("... could not be created on this disk..."), because FM doesn't seem to be able to follow a file reference that includes an alias. mad.gif Is there something I'm doing wrong or does FM indeed not handle aliases? confused.gif

Cheers,

Michael.

Not sure if it does (I don't use Macs in developement). But what you can do is hard code a fixed location for the export and import and use Applescripts to move & rename files from their source to that fixed location for import. And on export, take the fixed file/location and rename/move it to where you want it.

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.