Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

DynamicUpdateCommand Returning False

Hello

I am having a problem using DynamicUpdateCommand to insert a row into a SQL Server table in a Macro, only doing something simple at the moment

SET Inputting = ActiveDocument.DynamicUpdateCommand("INSERT INTO Campaign_Management (Name, CreatedAt,CreatedBy) VALUES (123, 2014-07-21 ,patxxx)").

I can do a select ok

This statement is returning false and when I try Inputting.ErrorMessage this returns just an empty string.

I have set the Server settings in my Document Properties as below

settings.png

Any help would be appreciated

0 Replies