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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem in Dynamic Updates

Hi,

i'm using dynamic updates where insert 4 values into a table.

1. I created a empty inline table where values need to be insert into this table.

2. I defined few variables to store the values.

3. Create a button, apply the INSERT SQL in dynamic updates action.

Variables..3 variables created

Capture.PNG.png

Refer to image below..

When I click on the button, variables vTargetedTabName, vTargetedCreatedDateTime are inserted into the inline table but vTargetedCustomer no. Refer to the text field in the image below, the varible vTargetedCustomer works fine which display the customer code accordingly.

Capture.PNG.png

Below are the INSERT SQL Statement

INSERT INTO * (Targeted_Customer_Key, Targeted_TabName, Targeted_CreateDateTime, Targeted_Customer)    

VALUES (=$(vTargetedTabName)&$(vTargetedCreatedDateTime), =$(vTargetedTabName), =$(vTargetedCreatedDateTime), =GetFieldSelections([Customer Code])))

Any one can help?

0 Replies