Stephen Russell wrote: > On Tue, Jul 7, 2009 at 9:08 AM, Kevin Cully<[email protected]> wrote: >> If it's a single record then I use an object on the business class just >> like West-Wind does it. >> >> IF oBizObj.Load( PK ) >> ? oBizObj.oData.Name, oBizObj.oData.PK >> ENDIF >> >> SCATTER NAME and GATHER NAME are two of my favorite commands. > ---------------- > > I am guessing but could oBizObj.oData hold multiple rows as well or is > it purely the scatter name working here?
This is something that Mr. Testi wrestled with many moons ago here. I use objects for single records, and just reference the cursor for multiple-row datasets (that are used in grids). My n-tier designs are logical, so data created in the DataObj layer are visible to the other layers. -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

