Base: Call a MySQL Database Stored Procedure

I connect to a MySQL database with Base and there I have some stored procedures. How I may call them from Base and get the results?

SELECT * FROM products;

Is it possible to call the "GetAllProducts() stored procedure from BASE within a BASE QUERY?

e.g. SELECT * FROM GetAllProducts();


MySQL Stored Procedures need a CALL statement to run (see-> CALL Statement). This cannot be done from the Query section.

They can be run from a macro. See → Calc: call a stored procedure

Thanks for the help! Really appreciate it!

Suppose we have a form with a button. When button pressed we run the macro that runs the stored procedure… how can we display the results in a table (grid) format in the form?


Sorry for this extremely late reply. Unfortunately the notifications on his site are not working correctly. It is only because of a recent question I found this.

If this question is still outstanding to you, please ask as a new question. This is a question and answer site. Additional questions get buried from others searching for the answer.