cancel
Showing results for 
Search instead for 
Did you mean: 

Run a Stored Procedure from a Command Button in Infomaker

0 Kudos
2,865

Hi

I was just wondering if it was possible to run a Stored Procedure from an Infomaker Form using a command button?

I am able to customise our CRM system by creating forms/reports in Infomaker.

chris_keating
Product and Topic Expert
Product and Topic Expert
0 Kudos

Provided that Infopath form allows connections via ODBC or ADO.NET, you should be able to execute a procedure.

0 Kudos

There is an ODBC connection as I am able to pull in data from the database. What I can't find out is how to use a button to launch the stored procedure.

Breck_Carter
Participant

Google is your friend...

Infopath Form command button "stored procedure"

Here's one result: How to work with stored procedures by using script in an InfoPath form.

0 Kudos

Thanks, and apologies. When I looked at your suggestion I realised I entered the wrong software. I need to run the Stored Procedure from an Infomaker form, NOT Infopath (that is when I am working on Sharepoint).

I have edited my question to reflect this.

chris_keating
Product and Topic Expert
Product and Topic Expert
0 Kudos

When creating a report, the wizard prompts for a data source which will include Stored Procedure (if the database supports procedures).

0 Kudos

Yes and I choose the fields I want, then I am taking to the form painter where I can insert a button. But there isn't an option for the button to run a stored procedure.

Accepted Solutions (0)

Answers (0)