CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Combine 2 table to create 1 list?

Print topic Send  topic

Author Message
forLoop

Posts: 20
Posted: 04/15/2006, 11:07 PM

Hi all,

I'm using CCS to create the backend for an XML driven Flash application. I've figured out how to write the XML but I can't figure out how to have 2 tables in 1 list.

I have 2 tables called Villas and VillaFloors. I want to make a query that shows a list of the Villas. Inside each list would be a list of VillaFloors associated with the Villa. Make sence?

Here's and example of what I mean.
http://www.visual23.com/combineGrids.jpg

Here's what the XML will look like.

<Villa available='1' detailTemplatePath='villaDetailTemplate.swf' fpTemplatePath='villaFPTemplate.swf' number='1' title='VILLAS 1'>
<Floor fpSWFPath='vFP_l1_1-2.swf' detailView='vDetail-l1.swf'>
<PlanName>Main Floor</PlanName>
<Bedrooms>0</Bedrooms>
<Baths>1/2</Baths>
<AreaSqFt>997</AreaSqFt>
<TerraceSqFt>668</TerraceSqFt>
<TotalSqFt>1,665</TotalSqFt>
</Floor>
<Floor fpSWFPath='vFP_l1_1-2.swf' detailView='vDetail-l2.swf'>
<PlanName>2nd Floor</PlanName>
<Bedrooms>0</Bedrooms>
<Baths>1/2</Baths>
<AreaSqFt>997</AreaSqFt>
<TerraceSqFt>668</TerraceSqFt>
<TotalSqFt>1,665</TotalSqFt>
</Floor>
<Floor fpSWFPath='vFP_l1_1-2.swf' detailView='vDetail-l3.swf'>
<PlanName>3rd Floor</PlanName>
<Bedrooms>0</Bedrooms>
<Baths>1/2</Baths>
<AreaSqFt>997</AreaSqFt>
<TerraceSqFt>668</TerraceSqFt>
<TotalSqFt>1,665</TotalSqFt>
</Floor>
</Villa>

Thanks in advance for any help!

Robb
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.