I use Visual FoxPro, not VB, but the concept is probably similar. In VFP, you create the Crystal Runtime Application Object and also create the Crystal Runtime Report Object. Once you've created the two objects, you pass the report name (including path and extension if you want) as a parameter to the OpenReport method of the application object, assigning the result to the report object. Here are the three main lines of code in VFP:
Could be a useful security technique renaming your reports to something other than rpt. As long as it's a rpt file format inside the file I don't see any problems. Editor and Publisher of Crystal Clear
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.