11/26/2024 4:27:14 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
CreateAdHocGroup
Posted: 28 Sep 06 1:52 PM
|
fiogf49gjkf0d Hi,
(6.2.4) Does anyone have any code examples of using the BasicFunctions.CreateAdHocGroup code? I can't figure out how to get this to work for more than one contact id. I keep switching it around but getting all different kinds of errors.
This: Dim strContactIDs
strContactIDs = "C6UJ9A0000SU,C6UJ9A0001XW" Application.BasicFunctions.CreateAdHocGroup "CONTACT","Zeph", strContactIDs, ""
Produces This: "String or Binary Data would be Truncated"
I wrapped the values in single quotes ("'C6UJ9A0000SU','C6UJ9A0001XW'")but got a syntax error. Couple other things i'll detail if need be...
Thanks in advance
Zeph |
|
|
|
Re: CreateAdHocGroup
Posted: 29 Sep 06 10:34 AM
|
fiogf49gjkf0d I found the answer in my trusty Lan Developers Reference Guide... strContactIDs needs to be a Crlf delimited string.
Dim strContactIDs
strContactIDs = "C6UJ9A0000SU"&chr(13)&chr(10)&"C6UJ9A0001XW" Application.BasicFunctions.CreateAdHocGroup "CONTACT","Zeph", strContactIDs, ""
Zeph |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|