Subject Re: [IBO] changing KeyLinks, MasterLinks etc to use aliases
Author Markus Ostenried
On 11/29/06, Jason Wharton <supportlist@...> wrote:
> This would be an excellent utility to have, for other things as well as
> this. I would be surprised if there wasn't some kind of a framework already
> in place to assist with this sort of thing. A rule-based DFM modification
> tool. Is there anything in the GExperts library that comes close to this?
> Is there anything out there in the open source realm to address this?

I just came across this great site:
http://www.felix-colibri.com/papers/colibri_utilities/dfm_parser/dfm_parser.html

It has a parser for dfm files that allows one to read components and
properties from a dfm file. But I have yet to accommodate to the
naming conventions used in the source code and need to understand the
logic behind all this.

Another thing that came to my mind is this: To determine the correct
alias to be used in e.g. MasterLinks I will have to read the
MasterSource property first and then analyze the SQL of the master
dataset. If the master resides in the same dfm file then this should
be feasible. But if MasterSource links to another dfm file then I
guess things start to get more complicated.

Note that I'm still tossing around ideas to get a grip of the problem.
I also asked the author of the above mentioned dfm parser for some
usage examples.

I'll keep you informed as I make some progress.

Regards,
Markus