7 posts in this topic
Ok here is my problem. I have created a summary report that pulls together weekly reports for projects under a specific office of work. SO each report generated could be specific to a set area. In the report layout i set it up with a title header for the cover sheet, a sub summary section which shows each sub- group, a sub summary section that has all the project specific text and report, and then the body which has pictures and captions for the project. The pictures and captions are repetitions 1-8 of the same fields. So it is supposed to look like this
title page(area name) Title Header
-Sub area Sub Summary
Project data info Sub Summary
The trouble I am having is if a user only enters, say 4 pictures instead of 8, I will have 2 blank pages that need to be removed. I didnt have much luck in sliding up cause i had pictures on both sides of a page break and the page layout was not consistent from one report to the next. I need to find a way to remove the blank page that occurs if there is less than 8 pictures with the report.
Any help would be appreciated.
By Dean Suhr
Greetings - I got my start with CWP using FMwebstudio as the front end library to the FileMaker API (Dreamweaver). That library is no longer maintained.
One of very cool things about that library was a dynamic field capability, fmsLiveInputField, where the changes you made in a web page were updated into the database in real time. I used it for event registration where the total attending and fees due automatically updated.
By Jack Wright
Please help me out.
I am trying to create an array from a value list within Filemaker Pro (Using PHP API)
The idea is to create an array of names from a value list I have set up... Then put them into an option tag.
$staff = array(FileMaker Value List)
^^ I know that's incorrect, but it shows what I want to do
Then with that array I want to be able to Create a HTML option list (I know how I would do that) --- I am just really struggling with creating the array...
Here is what I have
$database = "comms__web"; $hostname = "###.###.#.#"; $username = "web"; $password = "################"; $layoutname = "Web"; $valueListName = "MIS"; //CREATE FILEMAKER OBJECT $fm = new FileMaker($database, $hostname, $username, $password); //GET THE LAYOUT AS AN OBJECT. $layoutObject = $fm->getLayout($layoutName); //GET THE VALUE LIST $valueList = $layoutObject->getValueList($valueListName);
However it doesn't actually appear to pick up the list...
Please help me out
By Jack Wright
So I'm pretty new to Filemaker and CWP - I have created a form which people fill out and it stores the data in a filemaker solution. The idea being a script is then run which will notify a user if the form has been submitted.
Now I have the script for that and all the Filemaker side completed, as well as the data entry from the PHP form, but I am really struggling with running a script with a parameter...
It runs the script, but not the parameter attached.
For a bit of context,
Someone fills out the form and it is entered into the database,
a script is then called with the parameter being an ID, the script then checks the ID with the parameter ID and then sends a notification to the user with the details from the record where the IDs match... but it will not pass the ID parameter into the script from the web application.
Here is my script
require_once ('FileMaker.php'); $fm = new FileMaker(); $fm->setProperty('database', 'comms__web'); $fm->setProperty('hostspec', 'http://192.168.X.XXX'); $fm->setProperty('username', 'web'); $fm->setProperty('password', 'XXXXXXXXXXXXXXXX'); $newPerformScript = $fm->newPerformScriptCommand('Web','TestScript','test'); $result = $newPerformScript->execute(); Please help me out here... Been trying to research this issue and nowhere really actually helps.