Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListView and Textbox

Status
Not open for further replies.

heydyrtt

Programmer
Dec 12, 2001
63
US
I have an array of text boxes how many text boxes is determined by what is in a db column. I have a listview, that displays what was entered in the textboxes, via a sql query. On my form a have modify button, when clicked the lisview is enabled and the user can select a row in the view to modify, I need what they selected to populate the text boxes so they can change it to whatever. I know it would be on item_click, just don't know the exact code to get the text from listview back in the boxes. Any help appreciated.

Thanks


Heydyrtt
 
Try creating a when-list-changed trigger, containing code like this:

[tt]:block.text_item := :block.list_item;[/tt]

Obviously you will need to determine exactly which text item you want to populate.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top