Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
qliklearnervir
Creator
Creator

Filed not found error but script is correct

Hi,

i am using below given scrip to load csv file from folder location.....

LOAD  UID,

     Title,

     firstName,

     lastName,

     gender,

     birthDate,

     addressLine1,

     addressLine2,

     addressLine3,

     zip,

     country,

     email,

     mobile,

     phone,

     villagepreference,

     "subscribe-mail",

     "subscribe-email",

     "subscribe-sms"

FROM

$(vCSVFileLocation)$(vGuestFileName)

(txt, codepage is 1252, embedded labels, delimiter is '|', msq);

but i am getting field UID not found error.

please suggest.

csv file attached .

10 Replies
PrashantSangle

Hi,

try putting \ in between below 2 variable

$(vCSVFileLocation)\$(vGuestFileName)


Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
qliklearnervir
Creator
Creator
Author

no need for \ , as i already define in variable........

still field not found error

Anil_Babu_Samineni

I didn't found any error, I've done loaded success fully. Can you describe more for your Variables

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
qliklearnervir
Creator
Creator
Author

can you share your script code/.....

Anil_Babu_Samineni

This

LOAD ["UID],

     ["Title"],

     ["firstName"],

     ["lastName"],

     ["gender"],

     ["birthDate"],

     ["addressLine1"],

     ["addressLine2"],

     ["addressLine3"],

     ["zip"],

     ["country"],

     ["email"],

     ["mobile"],

     ["phone"],

     ["villagepreference"],

     ["subscribe-mail"],

     ["subscribe-email"],

     ["subscribe-sms"]

FROM

(txt, codepage is 1252, embedded labels, delimiter is '|', msq no quotes);

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
qliklearnervir
Creator
Creator
Author

still same issue..........

Anil_Babu_Samineni

I didn't test that, Assuming. Check now.

LOAD ["UID],

     [""Title""],

     [""firstName""],

     [""lastName""],

     [""gender""],

     [""birthDate""],

     [""addressLine1""],

     [""addressLine2""],

     [""addressLine3""],

     [""zip""],

     [""country""],

     [""email""],

     [""mobile""],

     [""phone""],

     [""villagepreference""],

     [""subscribe-mail""],

     [""subscribe-email""],

     [""subscribe-sms"""]

FROM

(txt, codepage is 1252, embedded labels, delimiter is '|', no quotes);

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
qliklearnervir
Creator
Creator
Author

and how to remove these ""...as i want only column names without double quotes

Anonymous
Not applicable

Try removing the current load statement that contains variables and load it again using the load wizzard and see if the error still persists?