CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Editable Grid: set selected val. of lstbx control?

Print topic Send  topic

Author Message
VBAjedi
Posted: 12/12/2003, 1:58 PM

I'm building an editable grid to edit table "A", which is laid out (in part) like:
Sales_ID | Widget_Type_ID | Cust_ID

Widget_Type_ID is a number, and I want to show the type description instead, which is in table "B", laid out like:
Widget_Type_ID | Widget_Description

So, on my editable grid I used a listbox instead of a textbox for the Widget_Type_ID column, and populated that listbox from table "B" Widget_Description. So far so good. My grid loads, and the listboxes have the correct list of values in them.

But how do I get it to select the appropriate Widget_Description (i.e. description for Widget_Type_ID stored in table "A") in the listbox for each row of my editable grid? I do want my users to be able to select a different widget description in the listbox, but they first need to see what the existing widget description is.

Thanks for any input. . .

VBAjedi
VBAjedi
Posted: 12/15/2003, 9:26 AM

Still need help on this. Essentially, how do I make a listbox value be the default/selected value when the listbox is loaded?

VBAjedi

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.