Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

jzimolong
Contributor II

List Box - List all Field Names

I did my best to try and find the answer to this, but no luck.

All I want to do is have an input box drop-down, listing all the fields of a single table.  I already have a chart dynamically responding to a manual list of fields in a drop-down (list box), but I'd like to get all the fields in the list box without having to type them all out.

Thanks, hopefully this is not redundant.

1 Solution

Accepted Solutions
Sokkorn
Honored Contributor

Re: List Box - List all Field Names

Hi,

Try this vField=GetFieldSelections([$Field])

Regards,

Sokkorn

View solution in original post

5 Replies
Sokkorn
Honored Contributor

Re: List Box - List all Field Names

Hi,

Try to create one ListBox with Expression =$Field

Regards,

Sokkorn

jzimolong
Contributor II

Re: List Box - List all Field Names

Thanks Sokkorn, how can I capture the selection of this ListBox in a variable?

Sokkorn
Honored Contributor

Re: List Box - List all Field Names

Hi,

Try this vField=GetFieldSelections([$Field])

Regards,

Sokkorn

View solution in original post

jzimolong
Contributor II

Re: List Box - List all Field Names

That does it, thank you again Sokkorn.

Sokkorn
Honored Contributor

Re: List Box - List all Field Names

Hi Sir,

You are welcome.

Regards,

Sokkorn