Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, April 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 - Legacy Development
Forum to discuss SalesLogix legacy development including views, scripts, etc.. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Legacy Development | New ThreadView:  Search:  
 Author  Thread: How to allow the user to make multiple selections from a listbox or other legacy object
Scott Newton
Posts: 11
 
How to allow the user to make multiple selections from a listbox or other legacy objectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Mar 11 12:11 PM
fiogf49gjkf0d

SalesLogix Lan Version 7.5.1


Architect help states that the list box object for legacy views allows the user to select one or more items from a listbox. Yet, when I create a list box and release it, it only allows the user to select one item. I do not see a property or anything else that allows multiple selections.


Is there a way to allow a user to make multiple selections from a legacy listbox? If so, how?


Or, is there a way to get a picklist to display the multiple selections a user can make vertically instead of horizontally?


If not, is there another legacy object that will allow a user to make multiple selections from a list that will display vertically?


I would prefer not to use a bunch of checkboxes. By the way, this particular section I am developing is massive and intertwined and it would take an extremely significant amount of time to develop this another way, so unfortunately it needs to be developed in Legacy for now.


Thanks.

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: How to allow the user to make multiple selections from a listbox or other legacy objectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Apr 11 9:40 AM
fiogf49gjkf0d

1. there have been some 400 bug fixes since 7.5.1....run, don't waterfall project manage over a year...to 7.3 or 4.


 


2. I have never seen a highly complex legacy development effort that can't be quickly rewritten in vbScript....and I mean quicker than March 38, 2011 until today.


 


3. legacy grids display lists vertically and allow for multiple selections....


 


Good Luck Scott (and yes I feel your pain having scripted in Legacy for nearly a decade!).

[Reply][Quote]
Lane
Posts: 121
 
Re: How to allow the user to make multiple selections from a listbox or other legacy objectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Apr 11 12:00 PM

the fastest solution is to code a common filtering ui (that can be dropped on any grid)


Have a main form with a query or filter button, that takes you to a common ui query form. On return from the form collect the filter string and apply it.


The ui I used is a left to right datagrid process. All your filter options are in a db and displayed on the right side of the form (show name of option), dblclick an option, opens a ui specific to the selection and stores info into query format (to another field or another table) and refresh the two grids. It now displays the selection on the right side now. Press ok and close the form. The parent collects the new settings from the db and updates the grid, as little code as possible here.


Multi-picklist now are a simple list of records, no ui needed So "Category=New Account" doesn't need any ui. "Account contains" would need a ui and appear on right side as "account contains 'abc' ". Only need a few ui's since reusable. Real code is in the query form on close, it needs to figure out the And/Or logic and define (). sort by field as you process or if really advanced users add And/Or option on form and append to filter selection, so retults say "account contains 'abc' or " and process sequencially.


 


whole thing is reusable too, just add form name to filter options avaliable (and specifics of target field etc) and pass data back in format so can drop into grid. At this point configuration is a db formatting issue so any form can be filtered.

[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): 4/26/2024 11:54:28 AM