eratech
Posts: 513
|
Posted: 04/02/2014, 1:39 AM |
|
You won't be able to do this with both the {cat_title} and the {forum_name} both in the same <!-- Row --> - it will display the category and forum for each record in the result.
By the looks of it you are doing something like the Reporting 'Group by'.
Thinking solely in 'Before Show Row' events, you could set a global 'showheading' flag - and toggle the visible flag on the cat_title and forums
eg - very rough pseudo code - it checks if the cat_title changes and then toggles the visible flag on the fields, and stores the cat_title for the next
global lastheading = "nothing yet" // somewhere outside loop
// flag to show heading if cat_title changes
if (cat_title <> lastheading) then showheading = 1
if showheading = 1 then
cat_title.visible=true
showheading = 0
end if
forum_name.visible = not cat_title.visible
As I said - very very rough. Anyone got anything, anything better?
Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia |