As far as i know it's not possible to put ATRRS or DB in left part of any rule.
Code: Select all
['Company Name 001', DB(<...>,!Company Name, 'City')]=N:...
If we need to calculate something for company we have to write partitioning IF rule:
Code: Select all
[]=N: IF(DB('The Matrix', !COmpany Name, !City)=1,<...the rule...>,0);
Upd. one other way is to multiply by DB('The Matrix',...) that is 1 or 0