List Box Selection

Use this board for starting discussions, asking questions, and giving advice on RPG programming for the IBM i platform (and predecessors.)
gleary
New User
Posts: 2
Joined: Thu Jun 11, 2015 1:11 pm
First Name: Gordon
Last Name: Leary
Company Name: AMPORTS, Inc.
Phone: 410-843-7110
Address 1: 2901 Childs St
City: Essex
State / Province: Maryland
Zip / Postal Code: 21226
Country: United States
Contact:

List Box Selection

Post by gleary »

I want to have a user enter/paste a list of items into a ?list/text box? and then use the boxes input to select the inventory items. It could be hundreds of item #'s. What is a good approach (will use sql once I have my input). I am new to profound and have not had my official training yet. So, I am still figuring things out on my own
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: List Box Selection

Post by Scott Klement »

Hmmm... well for one thing, you can't paste text into a list box, that's not how a list box works. List boxes just show a list of items (the list is provided by the program) and the user can select an item in the list with a mouse. But, they cannot paste data, it's purely done by mouse clicks.

You could paste into a textbox, though. Or a textarea, combo box, etc.

Most likely, you'd bind a very large character field to either a textbox or textarea, so that all the data that's pasted would fit in this large field. Then, your RPG program would have to know how to interpret the data in the field (it's not clear to me what format that data is in) to get the relevant details out of it to build an SQL statement or whatever it is you''re going to do with the data.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests