Jump to content

create table ?


This topic is 2581 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi there, first post from a n00b in filemaker, hope the question isn't too dumb...


I'm a dba in mssql and oracle but as said new in filemaker. I'm wondering if it's possible to generate filemaker tables using a script à la http://msdn.microsoft.com/en-us/library/ms174979.aspx


I would feel much more comfortable porting my solutions from development to test and later production by recreating the database/solution using a script.




But, perhaps my old ways made me blind; if this is a stupid idea can someone explain to me what would be the filemaker way of doing this?



Thanks in advance for your time,





Link to comment
Share on other sites

FM xDBC supports CREATE TABLE and ALTER TABLE, but it is not going to be a good approach for moving your solution between dev, test and production.  FileMaker Scripts and layouts use the underlying table and field IDs as internal references.  Those will break if you drop tables and add them externally.

You also don't have the full range of field options available to create through SQL.


A couple of options:

- if the data model is stable you can use the data separation model and just replace the UI/logic file

- or you import the production copy data into a clone of the development system

  • Like 1
Link to comment
Share on other sites

This topic is 2581 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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By BostonFM
      I am trying to script an import of three worksheets in the same Excel file. The 3 geographical regions worksheets are not structured the same, i.e. field name rows are not in the same place and are named differently.
      The script runs but stops to ask which worksheet to process.
      How do I create a variable/parameter in the script for it to proceed sequentially from worksheet 1-3 without stopping?
    • By HOnza
      This is a fresh story of me spending hours trying to fix a technical issue and accidentally revealing a gold nugget. A few days ago one of my nightly server-side scripts stopped working without any apparent reason. But when I tried to run the script in FileMaker Pro it worked just fine. I really needed a way to debug the script on the server.
      Read more here
    • By HOnza
      I noticed that one of the articles updated in the official FileMaker Knowledge Base on September 23, 2011 was explaining how to select a random set of records in a FileMaker database. I was wondering how fast the currently recommended technique is and whether Ican make it faster with the help of FM Bench. I tried to apply it to a set of 50,000 records of randomly generated data. Then I made it much faster…
      Read more in the original article
    • By HOnza
      This is the first example I was showing in my session Marvelous Optimizations at Pause On Error [x] London 2011. I already wrote about this optimization some time ago. It’s the one that led me to unveil the Marvelous Optimization Formula. You can find the original article here: FileMaker Script Execution Time Cut From 5 Hours To 6 Seconds
      I simply took the example and added FM Bench Detective into it to be able to exactly measure and examine what happens in the slow and the optimized script. Now you can watch the result in this video recorded at Pause On Error.
      Read more and download the sample file at honza.24uSoftware.com
    • By HOnza
      The second example I was showing in my session Marvelous Optimizations at Pause On Error [x] London 2011 was the script for selecting Random Set of Records. I found this example in the FileMaker Knowledge Base and optimized it to run at least 158 times faster when selecting 10 random records out of 50,000.
      This version of the example has FM Bench Detective script steps included to measure the original and the optimized script more precisely. Watch the video recorded at Pause On Error below to learn more details about this optimization.
      Read more and download the sample file at honza.24uSoftware.com
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.