Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

converting an RDL to a RSL in order to fix.

Status
Not open for further replies.

bob100

Technical User
Aug 16, 2001
1
US
I don't have the saved report, but I need to fix it so that it can be used. I could build a new report, but I need to know what DB fields are being used because it uses several tables. Is it possible to convert back to a saved report or look into it to see what tables/fields the data comes from?
 
An RSL file cannot be recovered from an RDL file. You have to rebuild. But, you can use the enum methods to learn a lot about the RDL - see the help file.
You don't say what version of Pdx you're using. In version 8, the following code might be useful:

method run(var eventInfo Event)
var
rpt report
ui uiObject
tv tableview
endVar
if not rpt.open(":REPORTS:COMPOSEX.RDL") then
errorShow()
return
endif
ui.attach(rpt)
rpt.enumDataModel(":pRIV:TRASH1.DB")
ui.enumUIObjectProperties(":pRIV:TRASH2.DB")
rpt.close()
tv.open (":pRIV:TRASH1.DB")
tv.open (":pRIV:TRASH2.DB")
endMethod
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top