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 -> ASP

 Using multiple arrays in the Checkbox List many-to-many example

Print topic Send  topic

Author Message
jpflana

Posts: 13
Posted: 08/15/2006, 3:23 PM

Has anyone successfully used multiple arrays in the Checkbox List / many-to-many example?

What I am looking to do is create multiple checkbox lists by categories. You can see an example of what I want to do in this post. (http://forums.yessoftware.com/posts.php?post_id=78100)

I think this could be done by creating multiple arrays where the SELECT pulls project_id values for only 1 category. I'm assuming you would have to hard code the individual catetory ids into the multiple arrays for each control. The follow-up questition is whether or not you could then update / insert / delete the values for all of the array populated checkbox list controls.

Thanks,
Jeremy F
View profile  Send private message
Waspman

Posts: 948
Posted: 08/16/2006, 1:51 AM

Yeah, took me about a day to get my head round it, but basically I just ripped the code from the example.

I also categorised the lists by having seperate forms, problem is they had to be fixed. But it worked fine.

I used this as user classification method and searching based on calssification was a real pain (there are 50K users and 400 classifications:-O) So as well as assigning the check box value so the client could see what was checked in the user profile, I created a string from the selected check boxes and inserted that into the main file and did the classification search against that.

HTH


Tony
_________________
http://www.waspmedia.co.uk
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.