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

Can I pass a var from external source like a dll to crystal reports

Status
Not open for further replies.

Ramjet

Programmer
Nov 1, 2000
21
US
I am a new Crystal Reports user and the program seems to offer a ton of functionality but what I am really looking for is a way to pass variables around without first writing
them to a database. here is process flow.

User fills out web form.
DLL takes data and performs operations
New data passed to Crystal Reports
Report is converted to pdf
User prints completed pdf

So far what I have learned from this forum is that I might be able to do this by declaring global variables and somehow
assigning new values to those variable. Then I can have functions all over my page that call those global var and display contents. I don't mind reading if someone knows a good site documenting this.

TIA
 
We use PHP to transfer data to our SQL database. Then call the report with something like :
<a href=&quot;Label.rpt?prompt0=$Vendor_Id&prompt1=$Company&quot;>[Print Now]</a>

Each Report Parameter can be called with prompt0 through whatever.

I'm sure a dll or cgi could do the same thing..

Cheers

Jim M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top