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!

passing values to parameter fileds of a crystal report throug VB

Status
Not open for further replies.

anangarg

Programmer
Mar 20, 2002
5
US
i wand to pass a value to parameter field ina crystal report
but i also don't want to view the parmeter window in my application when i will pass the value to a parameter field of a crystal report
 
You could create a form in your application which prompts for the parameter values and then use the CRPE32 dll as an API interface to set the parameters.
This though is only a method of customising the GUI for the prompt of parameters. Do you not want to prompt for parameters at all?
 
hi anangarg!
Did you get the solution for your problem?If yes can you help me with it because i have to tackle a similar problem.
 
hi renu
we can pass the values to parameter fields in the crystalreport through vb ,but it will popup the inputparameter window in our vb application to input parmeters in crystal report,as i need to pass just one parameter, so i had used report header instud of parameter.
& set the value for that throw my vb application & it just solve my purpose.

if the above details will help u out in some way,it will be pleasurious for me.

if u find any solution plz reply...

bye
anan
 
try this:

crObject.ParameterFields(0) = "ParamName;" & ParamValue & ";true"

notes: "True" value will make the popup window disapear
 
hi all

i stuck in a problem ,if any body could give a solution plz reply.
i want to change the database file of a crystal report through my vb application.how it will be posible.

anan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top