Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
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

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
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);

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
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

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
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?