×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

passing values to parameter fileds of a crystal report throug VB

passing values to parameter fileds of a crystal report throug VB

passing values to parameter fileds of a crystal report throug VB

(OP)
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

RE: passing values to parameter fileds of a crystal report throug VB

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?

RE: passing values to parameter fileds of a crystal report throug VB

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.

RE: passing values to parameter fileds of a crystal report throug VB

(OP)
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

RE: passing values to parameter fileds of a crystal report throug VB

try this:

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

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

RE: passing values to parameter fileds of a crystal report throug VB

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close