Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
alan_grn
Creator II
Creator II

Macro parse failed. Functionality was lost. Does not work with plugin.

I get the message above when I try to execute a macro using the Plugin.

The app runs on the development machine, but I get the message above when using the plugin.

I am using QV v9

2 Replies
Not applicable

Hi,

This error is because of path problem.

The path which you are accessing may exsits in developer machine and may not be in plugin.

Just an thougt, not sure Geeked

-Peterson

alan_grn
Creator II
Creator II
Author

I have taken out the code to reference a file.

I try to insert a record in to the tabel SearchValues. This works in development, but not with the plugin.

sub Insert

set docprop = ActiveDocument.GetProperties docprop.EnableDynamicDataUpdate=true

ActiveDocument.SetProperties docprop

SET Result = ActiveDocument.DynamicUpdateCommand("INSERT INTO * (SearchValues) VALUES ($(vSearchVariable))")

if Result = false then

MsgBox Result.ErrorMessage

else

ActiveDocument.Variables("vSearchVariable").SetContent "", true = 1

end if

end sub