I have a stored procedure in SQL that I would like to trigger from a custom button on a Dynamics SL form. Can someone help me do this? please!? thanks!
*This post is locked for comments
I have a stored procedure in SQL that I would like to trigger from a custom button on a Dynamics SL form. Can someone help me do this? please!? thanks!
*This post is locked for comments
So nobody has an answer to this? I have a need to click the start button on the processmanager screen. I realize that autostart should do this, but apparently sometimes it does not.
Thank you for the repsonses. We ended up using ADO to get it to work. However we still would like to know if its possible to write code to simulate clicking a builtin button.
Thank You!
Not required. what is the error you are getting?
does c1 need to be defined?
Also is it possible to click a builtin SL button via code? I've tried buttonName_Click but it doensn't work.
Thanks!
Hi,
Use the code something like follwoing in your custom button click event.
call Sql(C1,storedproc name)
call sqlfree(c1)
Regards,
Nagesh
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156