03-23-2014, 02:41 PM
GetQmItemPath first parameter is VARIANT. The VARIANT can contain string or int, but a[i].id is word. Need either change something in GetQmItemPath, or assign a[i].id to an int variable.
_i=a[i].id
GetQmItemPath _i
_i=a[i].id
GetQmItemPath _i