On Wednesday 14 July 2010 10:02:47 am Jeff Johnson wrote: > I am trying to use RegID's and it doesn't seem to work for me. > > Here is the code on PageEditMytable which is generated by the app wizard: > > objectRef = self.addObject(dabo.ui.dTextBox, > NameBase="pol_commpct", > DataSource="Policies", DataField="pol_commpct", > RegID="txtcommpct") > > print self.Form.txtcommpct.DataSource > > doesn't print anything > > I want to add RegID's so I can do calculations after the field is > populated.
Try: object.txtcommpct.DataSource.DataSource object.txtcommpct.DataSource is the bizobj. Jeff, you can help your self by using the dShell and typing the expression you need to review. dShell is your friend in these types of questions. I have a editor like Wing you use the watch or the debug probe to discover these kinds of answers. 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]
