Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Button + Stored procedure

Hallo everyone,

New day, new question. I was wondering if it is possible to configure a button in such a way thay a click on it would:

* Execute a stored procedure

* Bonus: Perform a full reload of the document

If this is possible, how can this be achieved? By using a macro?

Thank you,

Jan

1 Reply
marcus_sommer

Perhaps this is helpful:

set objWscript = CreateObject("WScript.Shell")

objWscript.Run YOURPATH & YOURFILE ' bat, cmd, vbs

'ActiveDocumentGetApplication.Sleep 10000 '10 sec

ActiveDocument.Reload

- Marcus