On Sunday 02 September 2007 08:58, Paul McNett wrote:
> johnf wrote:
> > Hi,
> > I would like to use a select statement to create test records for the
> > report designer. Is there a simple way of creating the test records from
> > a dataset or a simple Dabo statement that I can execute?
>
> # assume biz has been requeried
> ds = biz.getDataSet()
> from dabo.lib.reportUtils import getTestCursorXmlFromDataSet
> xml = getTestCursorXmlFromDataSet(ds)
> open("testcursor.xml.snippet", "wb").write(xml)
Thanks Paul.
--
John Fabiani
_______________________________________________
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/dabo-users/[EMAIL PROTECTED]