•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 425,936 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,619 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 5257 | Replies: 2
![]() |
•
•
Join Date: Feb 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hi everyone
This is my first post so please help me out !!
I am writting an application in VB.NET to print orders. The orders are shown on screen in a listview and the user can select individual orders/range of orders to print.
This Access query looks like:
How do I from vb.net pass the OrderIds parameter into this query with mulitple orderids?
e.g. passing "123-456" works
passing " '123-456', '123-789' " doesn't.
Thanks
Darren
This is my first post so please help me out !!

I am writting an application in VB.NET to print orders. The orders are shown on screen in a listview and the user can select individual orders/range of orders to print.
This Access query looks like:
PARAMETERS OrderIds Text ( 255 ); SELECT orders.*, orderdetails.* FROM orders, orderdetails WHERE orders.orderid=orderdetails.orderid And orders.orderid IN (OrderIds);
How do I from vb.net pass the OrderIds parameter into this query with mulitple orderids?
e.g. passing "123-456" works
passing " '123-456', '123-789' " doesn't.
Thanks
Darren
Last edited by dazlerd : Aug 30th, 2007 at 8:48 am.
•
•
Join Date: Jul 2007
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
Hi everyone
This is my first post so please help me out !!
I am writting an application in VB.NET to print orders. The orders are shown on screen in a listview and the user can select individual orders/range of orders to print.
This Access query looks like:
PARAMETERS OrderIds Text ( 255 ); SELECT orders.*, orderdetails.* FROM orders, orderdetails WHERE orders.orderid=orderdetails.orderid And orders.orderid IN (OrderIds);
How do I from vb.net pass the OrderIds parameter into this query with mulitple orderids?
e.g. passing "123-456" works
passing " '123-456', '123-789' " doesn't.
Thanks
Darren
Hi Darren
I'm not sure I can answer your question but I wrote an application for
Coumadin Dosing / Database where I use Crystal Reports to print out
my records. Take a look at my web site http://www.pace-med-apps.com/Warfarin2.aspx
near the middle of the page. If this looks like some thing that may be helpful
then email me drp@spmd.us
Take Care
Scott
Last edited by muskdial : Sep 2nd, 2007 at 8:01 pm. Reason: realign
•
•
Join Date: Feb 2007
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hi Scott
Thanks for your reply.
That app looks good although I have no ides what its doing !!
Im not sure if that is right for my app. I need to pass in a list of orderids and return all the details for them. You seem to be passing in one and potentailly returning many (if you use wildcards).
Ive had an answer on another forum but i havent worked out how to use it yet.
http://support.microsoft.com/kb/210530
Thanks
Darren
Thanks for your reply.
That app looks good although I have no ides what its doing !!
Im not sure if that is right for my app. I need to pass in a list of orderids and return all the details for them. You seem to be passing in one and potentailly returning many (if you use wildcards).
Ive had an answer on another forum but i havent worked out how to use it yet.
http://support.microsoft.com/kb/210530
Thanks
Darren
![]() |
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Set runtime connection to the Access database for Crystal report (VB.NET)
- How do i using a Query in crystal report?... and (Visual Basic 4 / 5 / 6)
- Issue about passing parameter to Crystal Report 11.. (Visual Basic 4 / 5 / 6)
- crystal report in vb6 (Visual Basic 4 / 5 / 6)
- Crystal Report Problem (ASP.NET)
- Crystal Report Query Engine error (VB.NET)
- Crystal report error (Visual Basic 4 / 5 / 6)
- problem in exporting crystal report (ASP.NET)
Other Threads in the VB.NET Forum
- Previous Thread: Variables like Booleans
- Next Thread: Threading, Delegates and the Invoke method.


Linear Mode