On Aug 25, 2009, at 5:41 PM, John wrote:

> First the fix.
> reportDS=dDataSet(reportDS.execute('select * from dataset'))

        This is redundant. The execute() method returns a dDataSet. No need  
to wrap it in yet another layer of dDataSet.

> The issue appeared when a special requirement for the reports came  
> up.  Larry
> wanted to retrieve data then delete a few of the records after  
> processing and
> that left a number of records that could be batched for a second  
> process.
> The criteria for the retrieved data was the same for both processes  
> (so why
> make two calls).  So he wanted to work with only one table.  It  
> sounds very
> much like a VFP way of thinking where all that was needed was a scan  
> and
> process.
>
> It works and very well too.


        Maybe you guys are thinking of the filter() function of datasets?


-- Ed Leafe





_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/79950718-6847-4f04-91ed-34eff2f90...@leafe.com

Reply via email to