Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: CreateAdHocGroup
Zeph
Posts: 37
 
CreateAdHocGroupYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Zeph
Posts: 37
 
Re: CreateAdHocGroupYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 4:25:01 PM