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!
|
|
Accounts from Current Group
Posted: 22 Dec 07 8:40 AM
|
Hi,
I want to get Account #s of current group. I can get current group name using Application.BasicFunctions.SystemInfoFor("CurrentGroupName").
How to get Account Numbers of current group in VBSCRIPT? |
|
|
|
Re: Accounts from Current Group
Posted: 22 Dec 07 5:14 PM
|
Look in the SalesLogix LAN Dev ref (in PF SalesLogix and you can download from the SalesLogix support site) help file...
strGroupID = Application.BasicFunctions.GetGroupIDs("Contact", "All Contacts")
Lots of stuff like this in it. -- RJLedger |
|
|
|
Re: Accounts from Current Group
Posted: 23 Dec 07 4:17 AM
|
This is also documented in DevLogix III.7 Companion - The Application Object (and, of course, in DevLogix III.7)
Dim hID hID = Application.BasicFunctions.GetGroupIDs _ ("CONTACT", "All Contacts") Dim iCount iCount = Application.BasicFunctions.GetGroupCount(hID) Dim i for i = 0 to iCount -1 Dim ID ' Get Next ID ID = Application.BasicFunctions.GetGroupValue (hID, i) Application.Debug.WriteLine i & " " & ID Next Application.BasicFunctions.CloseGroup hID
Stephen
|
|
|
|
Re: Accounts from Current Group
Posted: 23 Dec 07 8:42 AM
|
It goes w/out saying.... anybody new to SalesLogix should have their trusty copy of DevLogix handy! -- RJLedger |
|
|
|