Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Duplicating a table w/fields


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

Recommended Posts

Posted

Is there a way to duplicate a table and all the fields within it within the same file.

start with:

Table1 ... Table1::name1, address1

And create from this table and its fields:

Table2 ... Table2::name1, address1

I am sure there could be piles of instances this feature would be extremely helpful.....

Thanks

Posted

That's great; in follow up if I want to use the same layout design in the second table as the first table, what would be the best order of action to minimize the amount of re-assigning field names to the correct table?

Ie, if I copy layout1 to layout2, the fields in layout2 will be assigned to table1 which would require clicking on each and choosing table2, etc.

Is there a way to avoid this since, in this case, there are over 75 fields in each table?

Posted

Actually, there is a way: make a copy of your file. In the copy, delete Table 2 and rename Table 1 to Table 2. Go to the layout of what used to be Table 1, and Copy All. Now you can paste into a layout of Table 2 in the original file, and the fields will be assigned correctly.

  • Like 1
Posted

The purpose behind the original request was to have a two layout/two tabled design, one each for Quote (table1)and Invoices (table2)so that by a key field , the quote number, lookups would populate the Invoice as the Quote. Works great.

In table1, address1::table1 was pulled over via lookup address1::table3 data when the name1::table was chosen from a drop down VL, etc.

I don't see a way to have address1::table2 pull from address1::table3 also when it has a lookup from table1 already?

I was thinking I could just keep address1::table 2 lookup from address1 in table2 where the VL for name1::table3 would come off name1::table1 as the Quotes data increases from real-world usage.

Any thoughts?

Posted

Is there a way to avoid this since, in this case, there are over 75 fields in each table?

Hopefully will you be aware, that this seems to be a limping relational structure. That it will have top priority to "get the relations right" in the next incarnation of your app.?

--sd

Posted

The solution provided by "comment" worked beautifully and yes, it would be great if FM addressed this so that this important technique be more easy to render for all:)

This topic is 6630 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
×
×
  • Create New...

Important Information

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