03-23-2014, 02:31 PM
Sorry to ask it here, but I do not think it is a bug that's why I asked here:
I altered the "GetQmItemsInFolder" code to work with the current beta version (2.4.1.0).
The problem I have, is the a[i].id is not an integer or not recognized as an integer?
When using the function "GetQmItemPath" in combination with the a[i].id, I get the error:
When I use the val(a[i].id) function, I get the error: "expected string expression"
But when I converted the a[i].id to a string (_s) and then put it into an integer container (u), it works.
See below code, how I used it. (below a[i].id is qm_itm[i].id)
If I used qm_itm[i].id directly I get the error as described above.
Function qm_snippet_FirstStart
I altered the "GetQmItemsInFolder" code to work with the current beta version (2.4.1.0).
The problem I have, is the a[i].id is not an integer or not recognized as an integer?
When using the function "GetQmItemPath" in combination with the a[i].id, I get the error:
Quote:Error (RT) in <open "qm_snippet_FirstStart /2071">qm_snippet_FirstStart: incorrect argument. <help #IDP_ERR>?
When I use the val(a[i].id) function, I get the error: "expected string expression"
But when I converted the a[i].id to a string (_s) and then put it into an integer container (u), it works.
See below code, how I used it. (below a[i].id is qm_itm[i].id)
If I used qm_itm[i].id directly I get the error as described above.
Function qm_snippet_FirstStart