I'm having a problem getting BE_SMTPsend to successfully send an email with an attachment.
No problem sending without an attachment, but when I add an attachment, I get an error 2 (not sure exactly what that means, but without the attachment, no error)
These are the argument strings with and without attachments:
I have tried both relative and direct file paths for the variable $attachment. Examples are:
Both of them return an error code of 2.
Since the 'send' without an attachment works, all the values of the fields/variables other than $attachment must be valid.
Can anyone offer a suggestion as to what might be going on and what I might try to resolve this?
I'm trying to make a subsummary report with data from the current table and a related table.
I never get to display the correct totals for the related table, and would therefore appreciate your help.
First I'll try to explain the workflow:
I have two tables called 'Voorraad_uit' (= outgoing stock) and 'Voorraad_in' (= incoming stock) which are related by delivery number.
Data is first entered in 'Voorraad_in' (= incoming stock) and then related records are created in 'Voorraad_uit' when an incoming stock item is partly or completely shipped. This second table contains mainly the outgoing amount and a unique outgoing delivery ID.
As a consequence, one record in table 'Voorraad_in' (= incoming stock) can have one ore more related records in 'Voorraad_uit' (=outgoing stock).
I want to make a subsummary report showing the total amount of incoming and outgoing units per product(name) by using the following layout structure:
I tried two scenarios which each give me a part of the desired result.
when I base the layout on 'Voorraad_in' (=incoming stock): I get the right totals for incoming deliveries I get all the incoming deliveries listed (also those without outgoing delivery) Body part 3 (see above) only shows one row also when there are more than one related outgoing transactions I get the wrong totals for outgoing deliveries (only based on one record) when I base the layout on 'Voorraad_uit' (=outgoing stock): I get the wrong totals for incoming deliveries I don't get all the incoming deliveries listed (only those with outgoing delivery) Body part 3 (see above) shows all the related outgoing transactions I get the right totals for outgoing deliveries Main goal is having the right totals for both incoming and outgoing deliveries..
My layout is sorted ascending by (in mentioned order) productname, incoming delivery number and outgoing delivery number.
The totals are calculated by using summary fields.
I hope I'm on the right track and that the desired result is possible.. your help is much appreciated!
Thanks in advance for your help.
By Steve Pfister
Security Challenge when signing on to Paypal through Filemaker pro 18 web viewer. I see the text "Security Challenge" but nothing else shows up... all is invisible, making it impossible to solve the security challenge and sign in.... Mac Pro..OS High Sierra 10.13 ....running Filemaker 18 . I am having Java script issues I am assuming. Has anyone else had this similar issue and solved it?
Thank you in advance
I have a script that distributes a quantity across various number fields using a "set field" script step. It is possible for the number being distributed to be zero.
When I run the script with debugger, it puts zeroes in the number fields as expected. But if I run the script without debugger, it enters zeroes as null (blank).
I have absolutely no idea why!
I've tried modifying the script to specify the value with GetAsNumber and I've even tried adding to the Case statement (which determines the portion of the value to be distributed) that if the value to enter is not greater than zero to just enter a zero. Still makes the field blank. 99% of the time but not 100% of the time.
I've checked to make sure all fields are set to be number fields. I've verified this happens for me in both FMP 18 and FMP 19 on two different Windows machines.
For my use case there is a difference between a blank and a zero so it must be correct. Sometimes the field is legitimately empty.
What should I be checking?
Who Viewed the Topic