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!

how to pass parameter from vb to crystal report

Status
Not open for further replies.

mccreade

Programmer
Nov 7, 2001
5
IN
I want to pass parameter from vb to crystal report using CRAXDRT.dll and i am using oracle as database.

At present i am getting message as "server has not yet been opened.".
please let me know the solution.
 
We've covered that in the last couple of issues of Crystal Clear - but to summarise

You'll need to log in to the server with

cReport.Database(i).LogOnServer sDLL, sServer,
sDBName, UserID ,Passwrd

The you can use the Paramaterfields collection

cReport.ParameterFields.Count
creport.ParameterFields(i).Name
cReport.ParameterFields(i).ValueType
cReport.ParameterFields(i).AddCurrentValue xxx

Check each in the help files.


Editor of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top