Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 26th, 2008, 06:13 AM
Registered User
Join Date: May 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to passing multi parameter

hai guys,

need help from your expertise.

I have problem when send 2 or more parameter to store procedure
and display with crystal reports XII release 2.

If for 1 parameter is no problem.

Here my syntax for 1 parameter, perhaps it's also can help
who has same problem with me.

-------------------------Begin ----------------------------------
Dim rptalmaya As New ReportDocument()
        Dim paramField As ParameterField
        Dim i As Integer


            rptalmaya.SetDatabaseLogon("barcode", "diablo")
            paramField = rptalmaya.ParameterFields("@Kdalfombra")
            paramField.CurrentValues.AddValue(Trim(txtcode.Tex t))

            For i = 1 To txtqty.Text
                rptalmaya.PrintToPrinter(1, True, 0, 0)
        Catch ex As Exception
            MsgBox(ex.Message().ToString, MsgBoxStyle.Information, "Error printing Progress @Alfombra almaya...")
        End Try
end sub

---------------------------------- end --------------------------

thanks for your help and sugestion

nb : I'm not used crystalreport viewer to display the result.
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Multi-select for report parameter JimReid BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 January 30th, 2007 11:44 AM
passing parameter.. suzila VB.NET 2002/2003 Basics 7 May 17th, 2004 08:28 PM
Parameter passing psambor Beginning PHP 0 September 17th, 2003 01:47 AM
Passing Parameter tgopal Javascript 3 August 7th, 2003 07:54 PM

All times are GMT -4. The time now is 05:26 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.