Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Writing Code
Crystal Reports Forum
:
Crystal Reports for Visual Studio 2005 and Newer
:
Writing Code
Topic: Passing Multiple Values
Oldest Post First
Newest Post First
Author
Message
dionismatos
Newbie
Joined: 23 Mar 2010
Location: Dominican Republic
Online Status: Offline
Posts: 3
Topic: Passing Multiple Values
Posted: 12 Dec 2011 at 8:29am
Hello All
I'm having a hard time trying to pass multiple values to my report. I'll show u my code. Thanks in advance!
Dim myParameterFields As New ParameterFields()
Dim myParameterField As New ParameterField()
Dim myDiscreteValue As New ParameterDiscreteValue()
myParameterField.ParameterFieldName = "Cliente"
myDiscreteValue.Value = lblDestino.Text
myParameterField.CurrentValues.Add(myDiscreteValue)
myDiscreteValue = New ParameterDiscreteValue()
myParameterField.ParameterFieldName = "Conduce"
myDiscreteValue.Value = txtConduce.Text
myParameterField.CurrentValues.Add(myDiscreteValue)
myParameterFields.Add(myParameterField)
frmConduce.Show()
frmConduce.CrystalReportViewer1.ParameterFieldInfo = myParameterFields
frmConduce.CrystalReportViewer1.Refresh()
IP Logged
dionismatos
Newbie
Joined: 23 Mar 2010
Location: Dominican Republic
Online Status: Offline
Posts: 3
Posted: 13 Dec 2011 at 2:10am
Ok so its imposible to send multiple parameters directly to crystal?
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
This page was generated in 0.016 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.