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

 How to:: parent - child relationship in grid with search form

Print topic Send  topic

Author Message
Sudheer
Posted: 10/12/2004, 6:21 AM

Hi,

I have a table storing parent-child relationship and has the following structure.
Table: (id, name, parent_id)

I need to display this information in GRID in the format of
Name , Parent name

Also there is a search form (on name field) to filter the list .
I could able to get the GRID showing the parent child relationship, but I could not able to link this with the search form.
Can anyone guide me how to do this in CCS.

Thanks and Regards,
-Sudheer
sudheer.yakkala@gmail.com



sudheer

Posts: 11
Posted: 10/12/2004, 7:10 AM

I figured the way to do it.

Earlier I took the Data Source for the GRID as 'SQL' instead of default 'TABLE'.
This has to be done as:
#1) take the data source as 'TABLE'
#2) While selecting the table name, you need to frame the query for LEFT JOIN on the same table ( I did it using visual Query Builder)

-Sudheer
sudheer.yakkala@gmail.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.

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.