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

IMP. QUEST: Pass textbox value but not for record selection

Status
Not open for further replies.

SmileyFace

Programmer
Sep 10, 2002
99
US
I have always used my asp pages to pass the record selection formula to the report as parameters. IS IT POSSIBLE TO JUST PASS A VALUE TO A CRYSTAL REPORT FROM AN ASP PAGE (LIKE A FORM TEXTBOX VALUE) BUT NOT USE IT FOR RECORD SELECTION? Basically I want to pass it to the report to print on the header without having to read that field from a database.

If it is possible could someone tell me how?? Thanks a lot for your help!
 
Hey Thanks! I think the link you send should work but the thing is it uses a method called 'Newreport' of the report object oRpt to create a report on the fly whereas I already have a report and my program is using Openreport to open it up. I just want to pass one value from a textbox to it. To use the Newreport method I would have to totally change the way my report reads the database. If there is some other way of doing it please let me know. But again, thanks a lot for this link. I know next time that I can also use the Newreport method if I need to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top