Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 14th, 2004, 03:29 PM
diegod diegod is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 9 diegod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 26 sec
Reputation Power: 0
Firebird SP in VB6

in MSSQL a stored procedure are like this:
Create Procedure "ProcName"
As
Select "fields" From "Database"
End Procedure

If i have a conection obj and a recordser obj i use:
Set Rs = con.Execute
And that returns a recordset for use in my app.

But in Firebid the Sp are like this:
For Select "fields" From "Database"
Into :"OutVariables"

This Sp dosn´t return a Recordset for my app.
What can i Do to have a recordset in VB6.

Please sorry for my english.

Diego
Bs. As. -Argentina-

Reply With Quote
  #2  
Old November 18th, 2004, 09:37 AM
HereSomeHow HereSomeHow is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Guadalajara, Jalisco, México
Posts: 62 HereSomeHow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 51 m 29 sec
Reputation Power: 4
Check the documentation about the command SUSPEND, it will make your SP to output whatever value you have in your varible to the calling program, and keep processing the next set of data.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Firebird SP in VB6


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway