Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, February 23, 2025 
 
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: Display results in datagrid based on listbox
SLX_Novice
Posts: 246
 
Display results in datagrid based on listboxYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 11 7:56 AM
fiogf49gjkf0d

Hi all.


Using SLX LAN v7.2.1. We have a listbox on a form where the end user adds item numbers. I want to be able to search a table (myTableA) based on the items entered in the listbox. So when the click the "DISPLAY RESULTS" button it will display the resuls (itemnumber, quantity, uom etc.) in the datagrid. The number of items that are entered in the listbox varies (1 or 10 or 20 etc.).


Any ideas?


Thank you in advance!

[Reply][Quote]
Harendra Sinha
Posts: 66
 
Re: Display results in datagrid based on listboxYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 11 11:28 AM
fiogf49gjkf0d

Very simple..


1. pass the item numbers as comma separated values in a SP which in turn will get the records from myTableA using the condition


    where itemnumber in (comma separated string). Capture these values in a temp table and use that table as data source for the datagrid


or 2. strore the listbox items in a table and join this table with myTableA to get the datasource for datagrid.


let me know if this makes sense to you..


Haren

[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 © 2025 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): 2/23/2025 7:17:38 PM