Reply
Copper Elite Contributor
SLX_User
Posts: 72
Registered: ‎04-01-2009

Create group through code with specific layout

Hi all.

 

I want to create my own temporary group after the end user clicks a button, but I want to define my own layout (just like in the query builder). I was looking at the CreateTempGroup function and I don't see where it allows me to define what fields I want to display. Also, I need 3 criteria for the group, that function only allows one.

 

Is there another function that will allow more than one criteria and allows me to define what fields to display in the group layout?

 

SLX LAN v7.2.1 

 

Thanks!

Please use plain text.
Copper Contributor
mdockins
Posts: 51
Registered: ‎04-02-2009

Re: Create group through code with specific layout

Your temp group layout is determined through the Tools\Options menu.

 

On the Lookups & Groups tab of this dialog, note the 'Default Layout for new groups' - selecting a group layed out in a particular manner in this combo box will apply that layout to new temporary groups and lookup results groups.

Matt Dockins
www.ppsfirm.com
Please use plain text.
Copper Elite Contributor
SLX_User
Posts: 72
Registered: ‎04-01-2009

Re: Create group through code with specific layout

Thanks Matt, I'll give it a shot.
Please use plain text.