[FX.php List] Data source type
Kevin Futter
KFutter at sbc.vic.edu.au
Thu May 31 16:20:46 MDT 2012
Bob, it's best not to use a file extension on database calls at all. It still works, as the FileMaker server knows which database you're after without being supplied the file extension, and this immunises you against future changes to the file extension. So, just simply "database" will do.
Also, for those of us who use a single instance of FX to pull data from multiple databases, storing their references outside the query isn't practical.
--
Kevin Futter
Webmaster, St. Bernard's College
http://www.sbc.vic.edu.au/
From: Bob Patin <bob at patin.com<mailto:bob at patin.com>>
Reply-To: "FX.php Discussion List" <fx.php_list at mail.iviking.org<mailto:fx.php_list at mail.iviking.org>>
Date: Thursday, 31 May 2012 10:38 PM
To: "FX.php Discussion List" <fx.php_list at mail.iviking.org<mailto:fx.php_list at mail.iviking.org>>
Subject: Re: [FX.php List] Data source type
John,
Don't change it; all you need to do is rename the database anywhere that you reference it, so that it has its fmp12 extension.
Hopefully your database name is in your server data page and not in all your queries; if it *is* in all your queries, you'll have to change each one so that it reads "database.fmp12" instead of "database.fp7."
Best,
Bob Patin
Longterm Solutions LLC
bob at longtermsolutions.com<mailto:bob at longtermsolutions.com>
615-333-6858
http://www.longtermsolutions.com
FileMaker 9, 10 & 11 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
--
Twitter: bobpatin
Google+: http://www.longtermsolutions.com/plus
AIM: longterm1954
iChat: bobpatin
--
Expert FileMaker Consulting
FileMaker Hosting for all versions of FileMaker
On May 30, 2012, at 11:03 PM, John Funk wrote:
It may be late or I may be a block head, but can someone reply to what the $dataServerType is for fmp12 databases?
On my setup FMPro12 is not working.....
Thanks
John
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org<mailto:FX.php_List at mail.iviking.org>
http://www.iviking.org/mailman/listinfo/fx.php_list
This e-mail and any attachments may be confidential. You must not disclose or use the information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately and delete the e-mail and all copies. The College does not guarantee that this e-mail is virus or error free. The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this e-mail are not necessarily those of the College.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120531/0ede2416/attachment.html
More information about the FX.php_List
mailing list