CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Directory Builder

Print topic Send  topic

Author Message
parsec

Posts: 9
Posted: 03/12/2006, 3:35 AM

Hi
I Try to understand the example Yellow Pages. In the table yp_categories I understand the category_id, category_name, been there
but why you have put the category_id_parent in the same table would it been better to have the parent deceptions and ID in another table and pull data from there.
I ask this since I would like to use the builder to produce the same effect betweenness Department and Category tables that I have

My tables look like this

Department (table name)
ID
Name

Category (table name)
ID
DepartmentID
Name
Can some please recommend how to do this
Thank you
View profile  Send private message
idh63

Posts: 76
Posted: 05/05/2006, 7:10 AM

Hi parsec,

I just found your post looking for the answer to the same question.

You may have found the answer by now.

I expect that using one table would be less overhead on the server than 2 tables.

I was considering using three tables to create a many-to-many relationship and only have any category or sub-category named once instead of Apparel/Accessories and Automotive/Accessories. Accessories would have to be repeated in two records if one table was used.

I'd be interested to hear if you found a solution.
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.