Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have a macro using TRIGGER EDX in a button that run a script where I need a sql query to execute.
I have managed to get the variabel into the macro.
I have created a msgbox that outputs the value, and all is just fine.
I then add the line below and run:
GetEDXRequestString = "<Global method=""RequestEDX"" key=""" & strRequestKey & """><i_TaskIDOrTaskName>" & strTaskName & "</i_TaskIDOrTaskName><i_Password>" & strTaskPassword & "</i_Password><i_VariableName >varSQL</i_VariableName ><i_VariableValueList ><string>" & varSQL.GetContent.String & "</string></i_VariableValueList ></Global>"
This gives an error: Object required: 'varSQL'
Why?
Dan
I tried to add ActiveDocument.Reload at the bottom.
When running from server this works just fine, running from client does not work.
So it seems that waht I need to make happend is that the edx should eb able to reload the document somehow.