Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Inline load with commas

Hi Everyone,

I often need to load small inline tables, some that contain commas.

Example:

ID, Phrase

1, Hello

2, Hello, how are you?

3, Hello, today you look happy

Obviously when I load I get truncated data for Phrase for ID's 2 & 3 due to the comma as QV thinks it is a separater for the next column.  I have tried putting the phrases inside square brackets, but QV doesn't like these for the inline load as it takes the ']' as being a closing statement for the inline load.

How do I get around this?

Thanks

Gareth

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Maybe using single quotes?

Hope this helps,

Stefan

View solution in original post

7 Replies
swuehl
MVP
MVP

Maybe using single quotes?

Hope this helps,

Stefan

gandalfgray
Specialist II
Specialist II

and double quotes ( " ) works also

Not applicable
Author

Thanks!  So simple.

Not applicable
Author

Hi Gareth,

You can user as under (delimiter is ';');

LOAD * Inline

[ ID; Phrase

  1; Hello

  2;   Hello, how are you?

  3;   Hello, today you look happy

](delimiter is ';');

nigel987
Creator II
Creator II

Puttin the ENTIRE string (not only the comma) in single quotes worked fine for me! thanks

jertindall
Contributor II
Contributor II

Thank you Devang for the delimiter hint.  Single quotes did not do the trick for me, but changing the delimiter was exactly what I needed.

nate_muir_anderson
Contributor II
Contributor II

Also works when delimiters are tabs :
(delimiter is ' ');