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

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

Recommended Posts

Posted (edited)

Hi,

Is there a way to use the GTRR script step by defining the destination table and the destination layout with a variable?

Edited by Guest
Posted (edited)

Nope.

P.S. I would also love something like this.

GTRR action

Edited by Guest
Posted (edited)

Is there a way to use the GTRR script step by defining the destination table and the destination layout with a variable?

Yes there is, by redefining the relational structure to merge all related tables into one single... Read about "Tiered Tables" in David Kachels whitepaper:

http://www.foundationdbs.com/Downloads/WhitePaperForFMPNovices.pdf

The developer would then know there only is one table to make a series of request, since the foreign key fields are just as searchable as ordinary fields.

From there run the duplication scripting ... we talked about in the other thread.

However you can twist the approach to allow GTRR'ing by making the entire system rely on two criteria keys, in order to have one single common key... study the template...

It's by the way perhaps beneficial for you watch this movie...:

http://www.filemakermagazine.com/videos/data-tagging-classification-vs-organization.html

...since the urge to script comprensively is often structurally or rather lack of based!!!

--sd

el_pablo.zip

Edited by Guest
Added a file
Posted

I attached a modified version in which I added a distinct table.

How would you duplicate this table which add another level of depth? and if we have more levels?

Do we have to add nested loop?

Other than the main subject.

I like this example, which make me understand a new concept of flagging method. I'm already using something similar, but on the parent side for photos.

I also like the original "xor 1" to tell if it's empty. :

el_pablo.zip

Posted

How would you duplicate this table which add another level of depth? and if we have more levels?

Do we have to add nested loop?

Every time you have a grandparenting issue, must the question be if a recursive structure would suit it better, although I need to :cofeebrake: ...as well as do some thinking for a while!!

--sd

Posted

I agree with you that this is a brain teaser.

The limits of GTRR are seen here.

In my case, I'm finishing a script that duplicate a report with 30+ different tables down to 4 level of depth. The script I've done is quite heavy. The only part I could generalize was for "leaf" tables which I based on your idea.

Posted

Excuse me for saying this, but mu hunch says that there is something utterly wrongly normalized - since according to this is every business model falling within 7 sorts of ERD without exception:

http://www.amazon.com/Modeling-Theory-Practice-Graeme-Simsion/dp/0977140016

I havn't read it yet, but what if they're correct? One of the biggest problem is that you keep your line of questioning absolutely abstract ... but you of all people might have a chance to understand the math behind relational theory, but approaches the thing by trial and error, and hunches alone, deliberate pulling techniques from other fields, without seeing if they really should fit - why?

Start by Replying Bruce in the other thread, with a propper context and purpose description ... whithout which most of would give stabs in the dark only. But as such must your solution be inadequately normalized???

--sd

Posted

Thanks for asking for the normalization. I will try to simplify the question in the other thread.

This topic is 5412 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.