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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to extract code fom report with vb6

Status
Not open for further replies.

ElvisUntot

Programmer
Jan 8, 2002
72
DE
i am trying to extract the code in my reports with vb6.0

the code for the funktions was easy.
Code:
For i = 1 To report.FormulaFields.Count
 s1 = report.FormulaFields(i).Name
 s2 = report.FormulaFields(i).Text
Next i

but now i need to extract the code for the formating of the header, detail, footer, subreport,... and i have no idea how to access them.
 
Loop through the Sections collection to access the properties of each report section.

I suggest you download one of the tools below to familiarize yourself with the CRAXDRT Object Model:

CR 6 and 7:

CR 8:

CR 9:

-dave
 
thanks, but i think, i am just too dumb today. can someone please just give me the code to get the names of the subreports in a report?

thanks.
 
ok, i am still dumb, but now it works.


so i only need to write a question in here and 5minutes later it works (even if i did the same x time before (or so i belived))



o_O
 
@vidru

hmm. thanks, ill read it. perhaps i find some other use for it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top