Sage SalesLogix
  • Contact Us
  • Sage North America
800-643-6400
Welcome Twitter Facebook LinkedIn
Community Home Blogs Share Ideas Search Request Access Resources
Reply
New Member
mrogers27
Posts: 10
Registered: 08-28-2009

Re: SalesLogix Admin Queries

Paul,

 

Thank you very much for sharing this!

 

I'm running this in VBScript successfully to the point of returning the array. I can validate the array and confirm the number of records (UBound), but am unable to return specific records "arrUsers(12)". I continue to recieve a type-mismatch error.

 

Forgive me if I'm overlooking something obvious.

 

Michael

Please use plain text.
Employee
pzeimet
Posts: 41
Registered: 06-25-2009

Re: SalesLogix Admin Queries

Michael,

What does the code look like where you are making this call?

Also, should arrUsers(12) instead be arrUsers[12] (I'm a litttle rusty in VBScript)? 

What is the variable type you are assigning this to?

Paul Zeimet
Development Manager
Sage SalesLogix
Please use plain text.
New Member
mrogers27
Posts: 10
Registered: 08-28-2009

Re: SalesLogix Admin Queries

Paul,

 

It appears that the function returns a vartype 8200 (string array) and VBScript only supports vartype 8204 (variant array). I built it as a console app in VB.Net without further incident.

 

Michael

Please use plain text.
Employee
scankannan
Posts: 171
Registered: 03-13-2009

Re: SalesLogix Admin Queries

[ Edited ]

Michael Is this something that you could share with the community?

 

Cheers

kannan

Message Edited by scankannan on 06-02-2010 10:14 AM
Please use plain text.