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 -> General/Other

 Multi-choice Listboxes: how to adapt for more than one column

Print topic Send  topic

Author Message
maggiemel

Posts: 75
Posted: 07/11/2005, 1:55 PM

I'm using several listboxes on one of my record forms, which is used to keep info on real estate properties. I have a listbox for "States" and use the "many-to-many listbox" example so that properties that cover more than one state can be added/updated with a multiple selection in the listbox (works great). I would like to use this same method to add/update lenders and their respective counsel for each property. But I'm unsure of how to adapt the example for two separate listboxes when the data comes from two columns in the same table.

So, my first question is: can this example be made to work if there is more than one multi-select listbox in the record form?

My second question is: how can I adapt the example when I need to pull two columns from the lenders/counsel table, then populate two separate listboxes with the resulting recordset? I've included my SQL statement below, for illustration:

Set LendersRS = NewConnection.Execute("SELECT Lender, Counsel FROM OpinionLenders WHERE FK_OpinionID=" & NewConnection.ToSQL(CCGetFromGet("OpinionID", "0"), ccsInteger))


Thanks in advance for any assistance!


_________________
Melissa Cahill
http://www.hellcatmaggie.net/
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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