November 12, 2008 at 9:01 pm
I have a result set view below that i have :
STATE AREAS REGION DESKTOPS
TEXAS TEXAS- Area 1PARIS- TEXAS 12
TEXAS TEXAS- Area 1IRVING - TEXAS 23
TEXAS TEXAS- Area 2PORT - TEXAS 23
TEXAS TEXAS- Area 2MAINLAND - TEXAS 23
NY NY- Area 1 MN- NY 34
NY NY- Area 2 RICHMOND - NY 23
NY NY- Area 2 DOWNTOWN - NY 23
NY NY- Area 3 MEROLE - NY 23
I want to display a page with something like below
TEXAS Area 1
|_PARIS -TEXAS
|-IRVING -TEXAS
NY Area 2
|_ RICHMOND -NY
|_DOWNTOWN -NY
etc..
right now if i filter by areas i get both TEXAS Area 1 and TEXAS Area 2 in my page
Any ideas?
November 12, 2008 at 9:19 pm
Um, what are you actually trying to do? Maybe a small example of what results you want.
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
November 12, 2008 at 9:47 pm
rbarryyoung (11/12/2008)
Um, what are you actually trying to do? Maybe a small example of what results you want.
What i want is to have a nested grid.
The master grid should have :
STATE AREAS
TEXAS TEXAS- Area 1
then the child grid :
REGION DESKTOPS
------- ----------
PARIS -TEXAS 12
So when you click on a plus sign of the first grid you get child grid
my problem is if i do this:
select * from table where where state = 'TEXAS'
i get something like this:
STATE AREA
------- ---------
TEXAS TEXAS- Area 1
TEXAS TEXAS- Area 1
TEXAS TEXAS- Area 1
TEXAS TEXAS- Area 2
TEXAS TEXAS- Area 2
To display the child grid i pass the area as a parameter but since the areas are duplicate i get back each duplicate record in my child view
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply