Ebase Technology Forum Index Ebase Technology Forum

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tables and Stored Procedures

 
Post new topic   Reply to topic    Ebase Technology Forum Index -> Ebase Designer and Server
View previous topic :: View next topic  
Author Message
celfyn
Ebase User


Joined: 29 Jun 2010
Posts: 2
Location: Wales, UK

PostPosted: Tue Jul 20, 2010 12:06 pm    Post subject: Tables and Stored Procedures Reply with quote

Hello,

Is it possible to fill an Ebase table with the contents of a stored procedure resource, or do I have to use a table resource?

Thank you.
Back to top
View user's profile Send private message
Hovik
Moderator
Moderator


Joined: 11 Sep 2007
Posts: 30

PostPosted: Mon Aug 23, 2010 2:05 pm    Post subject: Reply with quote

Unfortunately Ebase stored procedures don't support result sets at the moment. However there is a solution:

    1. Use a database resource marked for use with tables.
    2. Put your stored procedure call in the select section under Advanced SQL using field substitution to supply parameter values if required - e.g. exec proc_name search_string = &&search.
    3. Call fetchtable from your form on a table that is mapped to the table DB resource.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Ebase Technology Forum Index -> Ebase Designer and Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group