CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 link depending of date

Print topic Send  topic

Author Message
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


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.