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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Having trouble with an input box in a table grid

Hi, I defined

Qualify*;

INPUTFIELD InputLocalBalance;

Balance:
SQL SELECT ID,
BAL, 
0 AS InputLocalBalance
FROM mdb.dbo."mytable";

in my load script, and in my table, set the expression to InputSum(Balance.InputLocalBalance), however when the table is loaded, the little arrow/box doesnt come up for me to enter a value in the cell, it just sorts. is there a property I am missing that needs to be set?

4 Replies
Not applicable
Author

Maybe try doing a preload with Load statement. Or store it in a qvd and then read it instead of directly accessing it from the Database through SQL Select. Example attached

maxgro
MVP
MVP

try with (changes from your script in bold)

qualify *;

INPUTFIELD Balance.InputLocalBalance;

Balance:

load

     *,

     0 as InputLocalBalance;

SQL SELECT ID,

BAL,

FROM mdb.dbo."mytable";

Not applicable
Author

I get a 'Duplicate keys when loading Input Field' error and dont understand why


Not applicable
Author

Added DISTINCT to the load

but still error.