On Thursday, June 09, 2011 09:25:53 am Paul McNett wrote:
> On 6/9/11 6:26 AM, John Fabiani wrote:
> > Is there a difference between
> > self.Record['course_pay_sched'] and self.course_pay_sched in the report
> > writer????  Even if they both work which is the proper one to use?
> 
> self.Record['<s>'] is more explicit, self.<s> is more implicit and easier
> to write. The latter will look first at self.Variables['<s>'] and only if
> a variable of that name doesn't exist, will then look at self.Records.
> 
> I should really make a self.Record.<s> interface which would match with
> biz.Record.
> 
> Paul

Thanks that helps explain an issue I had with (implicit) self.<s>.  I will try 
to remember the next time (also keep different variable names).

Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to