Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Please help with DynamicUpdateCommand

Please HELP ME with macro.

I'm testig DynamicUpdateCommand
for a Budget application.

I would like to update some fild applying personalized functions.

This is my first test, but it return me a Blank msg box

-------------------------

sub enrico

set docprop = ActiveDocument.GetProperties
docprop.EnableDynamicDataUpdate=true
ActiveDocument.SetProperties docprop

SET Result = ActiveDocument.DynamicUpdateCommand("UPDATE Products SET Prezzo=0")
if Result = false then
MsgBox Result.ErrorMessage
else
MsgBox("FATTO")
end if
ActiveDocument.Save
end sub

------------------------------

The load script:

Inputfield Prezzo;
Inputfield Quantita;

products:
LOAD Prodotto,
Prezzo,
Quantita
FROM
sorgente_test_frutta.xlsx
(ooxml, embedded labels, table is Foglio1);

-------------------------------

Where is the error ?

What is the best way for top->bottom
or bottom->top functions ?

Thanks

Enrico

0 Replies