mortemar Posted October 7, 2002 Posted October 7, 2002 Hi there, is there a way to export records using CDML ? I need to enable "exporting" as offered within FileMaker ( a .tab file). Any idea ? I've been developing a solution using odbc and sql requests, but I was wondering if there existed a faster/easier solution with CDML. Thx, Jerry
Garry Claridge Posted October 7, 2002 Posted October 7, 2002 Do you want the exported file to save to the computer with the browser? You can use Applescript and CDML to achieve something similar. Or CDML can run a Script to export a file. Good Luck. Garry
mortemar Posted October 8, 2002 Author Posted October 8, 2002 Pretty much ! What I need is for the user to be able to select fields to be exported, and then format the output into a file such as : data1;data2;data3 data1;data2;data3 I've read that script and CDML wasn't a good option when multiple users can access the database simultaneously. Using php I was able to create an export file, but I had to use an apache server and go with sql queries. What I'm trying to find out actually is if I could do the same using the FM webserver and CDML+javascript(eventually) Thanx for the suggestion anyway ! Jerry
Garry Claridge Posted October 8, 2002 Posted October 8, 2002 The only pure CDML way is to present the raw data to the browser then for the user to save the page as a file. A Script could be used if the probability of collision was very low, or you could use the "Simplify" method for running Scripts from the Web. This would be combined with a little bit of Javascript to then download the file. All the best. Garry
Recommended Posts
This topic is 8183 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now