Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 14th, 2005, 11:37 AM
Registered User
 
Join Date: Mar 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default AS/400 and VB6.0 - Deep in the “ol” Kim chi!!!!

I hope this is the right forum…If not please re-direct me. I am hoping that perhaps someone will be able to point me in the right direction and get me started. I am trying to create a stored procedure (SP) on an AS/400 that I will be called from a VB6 application. This SP is written in COBOL. I will want to pass a date range to the SP and return a record set to the application. I have used SP’s in the past but only those developed in SQL 2K. This is a bit different. I have found some guidance online but am somewhat confused as to what takes place on the VB side of the house and what is done on the AS/400 side. I have tried using the “iSeries ADO Wisard” in VB to try and create the SP. It says that it has been successful and the code has been created to acess the SP. However, when I try to invoke the call it does not seem to actually call the SP. I get no error, but when I try to access the record set in any way I get an error saying it can’t be done when it is closed. I am using Client Access to establish connectivity with the AS/400. Any help will be GREATLY appreciated and the more examples the better. Thanks for your time and help!

Chris







Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting Report to PDF with Chi/Jap Char wackoyacky BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 August 28th, 2007 02:00 AM
Any new solution to connect AS/400 from VB6 viethan505 Other Programming Languages 0 August 23rd, 2006 09:37 PM
New solution to connect AS/400 from VB6 viethan505 SQL Server 2000 0 August 22nd, 2006 04:25 AM
Deep element access azrail1222 XSLT 1 August 22nd, 2006 02:24 AM
AS/400 program called using vb6 raysrocks VB Databases Basics 1 August 25th, 2003 05:37 PM





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