Tables and Stored Procedures

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

celfyn
Ebase User
Posts: 2
Joined: Tue Jun 29, 2010 3:09 pm
Location: Wales, UK

Tables and Stored Procedures

#1

Postby celfyn » Tue Jul 20, 2010 12:06 pm

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.
0 x

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

#2

Postby Hovik » Mon Aug 23, 2010 2:05 pm

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.
0 x


Who is online

Users browsing this forum: No registered users and 122 guests