Jump to content
  • 0

Script werkt op iMac FileMaker Pro, maar in Go word ik eruit gegooid


Pvdw

Question

Posted

Ik heb een script gemaakt voor het aanmaken van een "pdf invoice" en voor het verzenden per mail.

Op mijn Imac OSX versie 10.9.5 werkt het perfect. Maar als ik op mijn Ipad via Filemaker GO versie 15 of 16 op de 

knop druk word ik eruit gegooid.

Ik stuur het bestand waar mijn oplossing op gebaseerd is  mee door, kan iemand dit testen of  hetzelfde gebeurd bij jullie.

Het zijn de knoppen in invoice Pdf en mail rechts boven.

kan iemand me uitleggen waar het probleem zich situeert.

 

Alvast bedankt

Philippe

Invoices.fmp12

4 answers to this question

Recommended Posts

  • 0
Posted

Het filepad dat je voor de pdf gebruikt is niet in orde. Gebruik ipv "invoice/" de functie  Get ( TemporaryPath ). In jouw situatie krijg je dan:

"file:" & Get ( TemporaryPath )  & If ( Invoice::Type = "Quote" ; "Quote "  & Invoice::Id ; "Invoice "  & Invoice::InvoiceNumber )  & " "   & Contacts_Invoice::c_FullName  &  ".pdf"

Dit werkt wél.

  • 0
Posted

Zou het je het werkende bestand terug kunnen sturen.

Moet het voor email ook zo ingesteld worden?

Bedankt voor de hulp.

Philippe

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...