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 pdf to a dynamically named folder

Featured Replies

  • Newbies

Hi

I am trying to export a report as a pdf, to a folder that has been created by FM12. THe name of the folder is taken from the data of a field from the record to be exported. Below is the value of the data in my variable that would normally be able to export pdf  to a conventionally named folder - but I am unsure how to add my dynamic named folder as the logical way I would have thought it should be added does not work  - you can see where I added my folder name after the file path.

 

I would be grateful for help on this as my programming has come to a crunch!

 

"filemac:/Macintosh HD/Users/william/Dropbox/Acres Farm/Clients/" & Invoiceitems_INVOICEDETAILS::Folder Name

&

Invoiceitems_INVOICEDETAILS::fk_Order & " " & Invoiceitems_INVOICEDETAILS::Reference & ".PDF"

Hi Willrollo

 

Your path specification looks as though it is lacking a / character after the dynamic folder name, which will give an invalid path to the file.

 

Brian

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.