Thomas Keller
|
Posted: 12/23/2002, 12:04 AM |
|
I have the following problem:
Table: items . Fields: item_id, datum, titel.
If the value of the field datum is in the past, the value of the field title
should be shown as label. If the value of the field datum is the current
date or is in the future the value of the field title should be shown as
link to the page "Details" with the field item_id (a
href=details.asp?item_id=11&).
I tried to set field title as label with the following expression in events,
before show:
if flddatum=>date then fldtitel="<a
href=details.asp?item_id="&flditem_id&"&>"&fldtitel&"</a>" else
fldtitel=""&fldtitel&""
Result is that title is show as link, also when date is in the past.
Hope that anybody have an idea to solve that problem.
keller@pkl.com
|
|
|
|