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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Section Access Apostrophe Issue

I'm using Inline statement to give section access put together with USERNTNAME and UserName.
Section_Information:
LOAD * INLINE
[
USERNTNAME,UserName
'NVIN1','VXXX, NXXX'
'HEML1','ZXXX, HYYY'
];

One of the user has an apostrophe in their name, ex: XYZ, D'Costa

So I'm unable to Provide them access as the UserName is not getting picked correclty due to the apostrophe.

Section_Information:
LOAD * INLINE
[
USERNTNAME,UserName
'XYZD','XYZ, D'Costa'
];

I have tried using double quotes but it is not working.
Please help.

Thank you
Atul

Labels (1)
2 Replies
Anonymous
Not applicable
Author

Try using the apostrophe to the left of the 1 key instead of the usual one

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Why are you using quotes anyway in your INLINE load? It's not that spaces are a problem in text strings...

The problem with your weird UserName values (e.g. contain comma's) can be handled by changing the field delimiter character. Like in:

LOAD * INLINE

[

USERNTNAME UserName

XYZD XYZ, D'Costa

] (delimiter is '\t');

There is a TAB character between the field headers and the field values. All quotes have been dropped, except for the one in the name.

Section Access Apostrophe Issue thread254146.jpg

Best,

Peter