Steve

I really worked with this that you explained and as far as I can
tell...doing a compare type tag is still probably the best way unless I am
missing the boat on your details below.


Steve


On 9/13/03 1:42 AM, "Steve Smith" <[EMAIL PROTECTED]> wrote:

> What I do for situations like this is:
> 
> - Sort the search results by date
> - Assign a variable (local/request scope) before the <@ROWS> loop
> begins and make the value empty
> - Once inside the <@ROWS> loop, check to see if the value of the date
> for the current record is equal to the variable. If it is, don't
> display the date. If it isn't, assign the value of the date for the
> current record to the variable, then display the value of the date.
> 
> The first time through, the check always fails because the variable is
> empty. From then on, it only shows if it is changed.
> 
> Hope this helps,
> 
> Steve Smith
> 
> Oakbridge Information Solutions
> Office: (519) 624-4388
> GTA:    (416) 606-3885
> Fax:    (519) 624-3353
> Cell:   (416) 606-3885
> Email:  [EMAIL PROTECTED]
> Web:    http://www.oakbridge.ca
> 
> On Friday, September 12, 2003, at 11:56 PM, Campbell Steve wrote:
> 
>> Hey everyone
>> 
>> I have a simple detail page that I am using to show daily news.
>>  Nothing special and/or nothing really out of the ordinary.  What I
>> need is this.
>> 
>> I need to display these daily news posts on my news page.  The only
>> thing is that I donąt want to display my date on every post.  What I
>> mean by this is the following.
>> 
>> 
>> My fields show like this   
>>  Date ­ datehere
>> Title  -  news Title here
>> Story ­ scrollable textare here for the story.
>> 
>> Now, when I come in later in the day and post another news item, I
>> donąt want the same date to show up again on my detail page...news
>> page..the page that I am using to show all my news.
>> 
>> So, I would presume the easiest way to do this is to go ahead and let
>> it add the date each time I post a new news item, then do  a search
>> action at the beginning of my taf that can compare to see if the
>> day-date is already there. Then if it is, it would just leave it blank
>> with the elseif.    Would that be the easiest way???
>> 
>> If this makes sense and you have some idea of what I am needing to
>> find out here, then any help would be appreciated. If it doesnąt make
>> sense, I am sorry. My explaining skills arenąt that great sometimes.
>> 
>> Thanks
>> Steve
>> Forerunners Org
>> 
>> 
>>  
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to