Hi experts,
Is it possible to replicate the "run script" of dexterity in vba ? What i'm trying is, On a vba button click i want to execute the code behind the dexterity change script of a field !
Hi experts,
Is it possible to replicate the "run script" of dexterity in vba ? What i'm trying is, On a vba button click i want to execute the code behind the dexterity change script of a field !
This is possible by referencing the Dynamics Continuum Integration Library COM object in your VBA project. You can then call the ExecuteSanScript method passing in the script you want to execute.
Dim ErrVal As Integer Dim ErrMsg As String ErrVal = ExecuteSanScript("run script fieldname of window windowName of form formName;", ErrMsg); If ErrVal <> 0 Then 'A compiler error occurred. Display the error. MsgBox ErrMsg End If
You can download Continuum's documentation here:
https://www.microsoft.com/en-us/download/details.aspx?id=6800
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... 290,537 Super User 2024 Season 2
Martin Dráb 228,520 Most Valuable Professional
nmaenpaa 101,148