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!

Passing Parameters To Crystal reports from VB6

Status
Not open for further replies.

kr119

Programmer
Aug 6, 2002
3
GB
I am using crystal reports and a beginners for this crystal reports.
My problem is i need a method of passing parameters from visual basic to crystal reports...
for example

select * from emp where designation='Manager'



i want to pass value ffor designation field from visual basic


I will really appreciate if someone pass the solution to me.
 
you just create a report by select * from emp
then from vb you can put the code like
report.selectionformula="{designation}='" & trim(text1.text)&"'"
trough which you can dynamically get the report as per ur entry
 
you just create a report by select * from emp
then from vb you can put the code like
report.selectionformula="{designation}='" & trim(text1.text)&"'"
trough which you can dynamically get the report as per ur entry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top