Page 1 of 1

MAS_ prefix in SQLSelect

Posted: Wed 03 Jun 2015 13:54
by marcodor
Hello Victor,

I see You added MAS_ functionality to gather parameters from master dataset in detail (by the way, my idea :) )
But it does not work for SQLSelect property, can you add it also here?

Thanks!

Re: MAS_ prefix in SQLSelect

Posted: Fri 05 Jun 2015 12:41
by ViktorV
Please clarify, what do you mean by using MAS_ prefixes in the SQLSelect property?

Re: MAS_ prefix in SQLSelect

Posted: Tue 09 Jun 2015 15:59
by marcodor
for example, we have relations
Master (ID, NAME)
Detail (ID, MASTER_ID, AMOUNT)

In detail, SQL to write:

select ID, MASTER_ID, AMOUNT where MASTER_ID = :MAS_ID

Now it works with just :ID, but this param I use for another purposes, detail, has itself such field name.

Re: MAS_ prefix in SQLSelect

Posted: Fri 12 Jun 2015 13:24
by ViktorV
We can add support for MAS_ prefixes in the SQLSelect property. But parameters will point to the master dataset both with MAS_ prefix and without it. We can't implement the requested functinality, since it will break functioning of other users' projects.