[FX.php List] New to FX: A few basic questions

Dale Bengston dbengston at preservationstudio.com
Wed Apr 4 20:47:03 MDT 2007


I'll try two!

1. Starting with FMSA7, you can specify one layout to perform a  
search against and another layout to retrieve data from. This is on  
page 2 of the FX Functions documentation:
	SetDBData ($database, $layout="", $groupSize=50, $responseLayout="")

4. I have built web-based systems that rely on FMP scripts for  
certain operations, but I prefer not to do it that way. In every case  
where I've used scripts from the web, it was to tap into processes  
from the web that were built to work in FMP client-server mode. In  
purely web-based FMP development, if I can accomplish it with PHP, I  
will go that route. It's faster to process data in PHP than it is to  
run FMP scripts.

Hope this helps,
Dale

On Apr 4, 2007, at 7:09 PM, Alex Gates wrote:

> Hi Stephen-
>
> I can only help with one of your questions as I'm relatively new to  
> this as well.
>
> The answer to 1 is yes.  The field that you are retrieving data  
> from has to be on the layout you specify.
>
> Sorry I can't help with anything else -
>
> Alex
>
> Vision Computer Consulting wrote:
>> 1. I was a lasso programmer who has been doing PHP/MySQL for the  
>> last 4 years, but I remember that we created a layout that had all  
>> fields on it to make them accessible to lasso. What I have noticed  
>> is that, unless the related field is on the layout you are  
>> accessing, data in that field can't be retrieved. I know that in  
>> recent versions of Filemaker one can grab data from many layers of  
>> related layouts.
>> That is a long way of asking whether the field you are retrieving  
>> data from has to be on the layout you specify in SetDBData?
>> 2. Is data entry FM session based or transaction based?
>> 3. I am using PHP to do data validation (especially  date and  
>> time). Any hints on how to format date and time in such a way that  
>> FM won't throw and error? How do I setup Filemaker to best accept  
>> date and time information?
>> 4. Is it a good idea to run FM scripts from FX? If so, any  
>> suggestions on when it might appropriate to use FX to run an FM  
>> script?
>> Thank you in advance for your help.
>> Stephen Calia
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list