Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all
is it possible by macro to add one row on table?
I konw that the exampol is not correct but it is the gool.
function Debug()
set v = ActiveDocument.GetVariable("step")
v = v+1
concatenate (DebugList)
Load
'$(QvWorkPath)'&''&'$(_File)' as ErrorList.Filename,
$(DebugIDMax) +$(v) as DebugID,
today() as DebugDate,
... autogenerate(1) ;
end function;
Thanks all
No, macros don't quite work this way. There is a coming new functionality in ver. 9 that will allow something like this.
What you can do now is have your macro initiate a "Partial Reload" and organize your load script in a way that would add data conditionally. If you download my QlikView Explorer, you can find an example of how it's done.
regards,
Oleg
Hi Oleg,
I'm using v9 now. Can you describe the method you mentioned? It'd be exactly what I need.
Thanks,
Oliver
or you can use the new functionality "DynamicUpdateCommand".