CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Is it possible to have a Listbox list?

Print topic Send  topic

Author Message
pcfountain

Posts: 35
Posted: 05/03/2004, 9:07 AM

I am familiar with CheckBox lists, but I want to make a form with a Listbox list on it. Basically I have table "categories" and I want one Listbox for each category. I would then populate each Listbox with records from table "products" that match that category. When I add a new category in the table, the Listbox list would update auto-magically creating a new Listbox for me. Has anyone done this and can help or post some sample code? Thanks
_________________
Paul Fountain
http://www.pcfountain.com
View profile  Send private message
pcfountain

Posts: 35
Posted: 05/03/2004, 4:30 PM

OK I am getting close to what I want. I created a grid form based on the categories table and used a custom data source to populate the products listboxes. I used a SQL parameter to populate the listboxes with the products that belong to that category. Problem is, all the listboxes are showing products from category 1 (the default value). How do I get each listbox to show the products from the correct category?

http://www.pcfountain.com/konfigurator
_________________
Paul Fountain
http://www.pcfountain.com
View profile  Send private message
pcfountain

Posts: 35
Posted: 05/03/2004, 4:38 PM

Whoops wrong link ...

http://www.aussielovers.com/konfigurator
_________________
Paul Fountain
http://www.pcfountain.com
View profile  Send private message

Add new topic Subscribe to topic   


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

MS Access to Web

Convert MS Access to Web.
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.