Quick Search for:  in language:    
ADO,allows,user,access,Oracle,Stored,Procedur
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,290,928. lines
 Jobs: 179. postings

 How to support the site

 
Sponsored by:

 
You are in:
 

Does your code think in ink?
Login





Latest Code Ticker for Visual Basic.
Check Placement of Form on Screen
By CubeSolver on 11/20


RT Full Duplex
By Brian Black on 11/20


C++ Template Hack
By OpcodeVoid on 11/20


Click here to see a screenshot of this code!DeskTop Generator
By Ziad Said on 11/20

(Screen Shot)

SQLMan
By Darwin H. de Leon on 11/20


Klik! CompareLib...Co mpare and synchronize schema differences in your Access databases...
By Özden Irmak on 11/20


listview000sher if
By Sherif Omran on 11/20


Using ComboBox instead of TextBox
By SMA Soft on 11/20


Click here to see a screenshot of this code!ColorFade
By SMA Soft on 11/19

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!

Affiliate Sites



 
 
   

Oracle to ADO Recordsets

Print
Email
 
winzip icon
Submitted on: 3/2/2000
By: Aparajit Agarwal 
Level: Advanced
User Rating: By 10 Users
Compatibility:VB 5.0, VB 6.0

Users have accessed this code 9928 times.
 
 
     It allows the user to access Oracle Stored Procedures from VB, including getting ADO recordsets back
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 1 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
3/3/2000 6:39:41 AM:Neo
Wow, this is so great and easy to use.  
Very flexible too.  Nice job there Apu 
Dude!  Code On and Prosper!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/3/2000 9:20:23 AM:Aparajit Agarwal (Apu)
Hope this works out for folks.  Do let 
me know if you have trouble making this 
work or need help with stored 
procedures.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/27/2000 2:24:57 AM:David Downs
How can I create An Oracle SP that 
returns data?  I'd love to use this 
code, but the issue seems to be with 
Orcale.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/30/2000 9:33:15 AM:Aparajit Agarwal (Apu)
Unfortunately you can only return 
recordsets from Stored Procedures if 
you are using Oracle 8.0.5 and higher. 
BTW the code should work for other db 
also but I have personally not tested.  
As far as Oracle goes, for 8.0.5, you 
need to have a user type as a formal 
in-out based on a 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/30/2000 9:36:18 AM:Aparajit Agarwal
(contd)... strong cursor variable which 
in turn is based on a complete select 
statement in your header specification 
of your package.  You can then open the 
ref cursor in your stored procedure to 
return the recordset.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/30/2000 9:37:01 AM:Aparajit Agarwal
(contd)...Unfortunately, this means 
that you have to make changes to your 
SELECT in 2 places any time you need to 
modify it.  The good thing about 8.1.5 
is that you do not need the strong 
variable in your header spec.  The 
better thing about 8.1.5 is the ability 
to use dynamic where clauses as 
parameters in your stored procedures.  
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/30/2000 9:37:37 AM:Aparajit Agarwal
(contd) REF CURSORS in 8.1.5 cannot be 
based on dynamically concatenated and 
built SQL queries.
I would also 
recommend using the ODBC driver 8.0.5 
or 8.1.5 whichever the version might be 
as opposed to the MSDAORA 
provider.
Considering the number of 
"queries" :-) I have had in this 
regard, I may post a complete example 
of this on the site soon.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/3/2000 1:33:47 PM:Natasha Rani
Aparjit Agarwal
Your code has been 
immense help. I wander if you could 
tell me how I would take the 
disconnected recordset from an Oracle 
Database and add it to a collection?. I 
am not very familiar with collections 
but I have heard it is what I need to 
do. At the moment I am having trouble 
passing recordsets from a datalayer to 
a business layer (Oracle 7.0). I would 
hence like to put the recordset into a 
collection once I have passed it to the 
business layer. I can then apss this 
information to a web interface. If you 
are able to e-mail me back, 
natasha_work@hotmail.com. I can send 
you an example of what i am trying to 
do.
Your help would be very much 
appreciated as I am stuck at the 
moment!
Thanks again Natasha Rani
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/17/2001 11:55:15 AM:Alona
I'm a beginner in VB, and I am trying 
to clean up a very simple program that 
I wrote.  I am going into an Oracle 
Database and querying only one table.  
I then populate a group of txtBoxes 
(not in an array) and can go forward 
through the recordset.  BUT, I need to 
be able to go backward through the 
recordset, and I can't get it to 
work...  Can anyone 
help?????
Thanks,
Alona
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/7/2002 2:10:24 PM:Dino
Good code. Bottom line it worked, but I 
had to spend some time figuring out how 
to use it (programming the calling 
object) ...( VB beginner).  It would be 
of great help to post an example of say 
a Button_onclick event that makes the 
call to your class module.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.