Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

invalid path error

i wrote down this but got an error:

INV_TOP_CUSTOMERS:

LOAD

IVCOST,

IV,

IVDATE,

TYPE AS IV_TYPE,

CURRENCY ,

TOTPRICE AS IVA_TOTPRICE,

COMP as INV_COMP,

BONUSFLAG AS IVA_BONUSFLAG

from [lib://clinton/InvoiceItems.qvd](qvd)

/*WHERE IVCOST > 10000*/

ORDER BY IVDATE ASC;

concatenate (INV_TOP_CUSTOMERS)

LOAD

CUST,

CUSTNAME,

COUNTRY,

CURRENCY

FROM [lib://clinton/customers.qvd](qvd);

concatenate (INV_TOP_CUSTOMERS)

LOAD

COST,

CURRENCY,

IV

FROM [lib://clinton/Trans.qvd](qvd);

concatenate (INV_TOP_CUSTOMERS)

LOAD

IVDATE,

CURRENCY,

IVNUM as INV_NUMBER,

FINAL AS INV_FINAL

RESIDENT [lib://clinton/Invoices.qvd]

ORDER BY INV_NUMBER ASC;

Invalid Path ERROR1.PNG

7 Replies
hic
Former Employee
Former Employee

You cannot use Order By here. It only works together with Load ... Resident.

HIC

Not applicable
Author

i changed the script but keep getting the same error msg:

INV_TOP_CUSTOMERS:

LOAD

IVCOST,

IV,

IVDATE,

TYPE AS IV_TYPE,

CURRENCY ,

TOTPRICE AS IVA_TOTPRICE,

COMP as INV_COMP,

BONUSFLAG AS IVA_BONUSFLAG

from [lib://clinton/InvoiceItems.qvd](qvd)

WHERE IVCOST > 10000 ;

concatenate (INV_TOP_CUSTOMERS)

LOAD

CUST,

CUSTNAME,

COUNTRY,

CURRENCY

FROM [lib://clinton/customers.qvd](qvd);

concatenate (INV_TOP_CUSTOMERS)

LOAD

COST,

CURRENCY,

IV

FROM [lib://clinton/Trans.qvd](qvd);

concatenate (INV_TOP_CUSTOMERS)

LOAD

IVDATE,

CURRENCY,

IVNUM as INV_NUMBER,

FINAL AS INV_FINAL

from  [lib://clinton/Invoices.qvd](qvd);

Clever_Anjos
Employee
Employee

Try

concatenate (INV_TOP_CUSTOMERS)

LOAD * ORDER BY INV_NUMBER ASC;

LOAD

IVDATE,

CURRENCY,

IVNUM as INV_NUMBER,

FINAL AS INV_FINAL

RESIDENT [lib://clinton/Invoices.qvd];

miguelbraga
Partner - Specialist III
Partner - Specialist III

Hi Clever Anjos,

Can we make a resident load from a qvd file? I might be very wrong, but I don't think it is possible...

Regards,

MB

Not applicable
Author

O.K i have changed the syntax and still got the same reuslt...

INV_TOP_CUSTOMERS:

LOAD

IVCOST,

IV,

IVDATE,

TYPE AS IV_TYPE,

CURRENCY ,

TOTPRICE AS IVA_TOTPRICE,

COMP as INV_COMP,

BONUSFLAG AS IVA_BONUSFLAG

from [lib://clinton/InvoiceItems.qvd](qvd)

WHERE IVCOST > 10000 ;

concatenate (INV_TOP_CUSTOMERS)

LOAD

CUST,

CUSTNAME,

COUNTRY,

CURRENCY

FROM [lib://clinton/customers.qvd](qvd);

concatenate (INV_TOP_CUSTOMERS)

LOAD

COST,

CURRENCY,

IV

FROM [lib://clinton/Trans.qvd](qvd);

concatenate (INV_TOP_CUSTOMERS)

LOAD

IVDATE,

CURRENCY,

IVNUM as INV_NUMBER,

FINAL AS INV_FINAL

from  [lib://clinton/Invoices.qvd](qvd);

hic
Former Employee
Former Employee

Does the library path 'lib://clinton/' exist? After all - if the error message is "Invalid Path", I would suspect that the path is incorrect.

HIC

Not applicable
Author

it looks like regardless of the syntax chnages you make, the invalid path error still exists.  Please verify it exists and the user you are running under has access to it.

you can paste lib://clinton into your windows explorer address bar