On 3/17/11 7:54 AM, Sibylle Koczian wrote: > how do I start designing a new report, if I don't want to create an > AppWizard application first?
Open the report designer. Click File|New. > More specifically, how do I tell the > ReportDesigner about the table or view that should be used? You don't: The report form is unaware of the table or view that will be used at runtime. > In the API documentation for dReportWriter a Cursor is mentioned in the > introductory text, but not in the list of properties. Oh wow, you are right, good catch! Please reload the API doc, you'll now see a bunch of previously undocumented properties and methods, including Cursor. The documentation is still sparse, though. > The screencast > starts with an existing report format from an AppWizard application and > doesn't explain how this format gets its schema information. I may have > missed something here, I don't understand spoken English very well. When designing a report with ReportDesigner, you aren't connected to the data that will, at runtime, be fed to dReportWriter. There is nothing saved in the .rfxml that has to do with database, table, connection, etc. At runtime, you feed dReportWriter a .rfxml along with a cursor: the .rfxml for the "form", the Cursor for the "content". > In the mailing list archive I found a post explaining how to _use_ the > report, but that's about existing .rfxml files. There is the ability to embed a TestCursor into the report form .rfxml. This has the following pros(+) and cons(-): + Allows for previewing the design within the ReportDesigner + Very convenient when initially designing a new report - Loading in the test data isn't extremely easy - As the report gets enhanced, the TestData schema tends to get out of sync If you'd like to know how to get some TestData into a new report, please ask. Paul _______________________________________________ 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]
