Thanks Mike,
having slight problem tried to replace the current
<%= FormatNumber((Pricing.Fields.Item("CarParkToDriver ").Value),
2, -2, -2, -2) %>
With
<%= If FormatNumber((Pricing.Fields.Item("CarParkToDriver ").Value),
2, -2, -2, -2) >0 Then Response.Write %>
Error message reads
Microsoft VBScript compilation error '800a03ea'
Syntax error
/online/internal/administrator/DriverPricing/2resultsDriver.asp, line 247
Response.Write(If
FormatNumber((Pricing.Fields.Item("CarParkToDriver ").Value), 2, -2, -2, -2)
>0 Then Response.Write)
---------------^
Unless i'm putting it in the wrong place?
Regards
Simon
"Mike" <in*****@invalid.comwrote in message
news:OA****************@TK2MSFTNGP04.phx.gbl...
I assume by "hidden" you mean you don't want to do anything with it. In
that case, only do something if it's greater than 0.
If Recordset.Fields.Item("CarPark") >0 Then Response.Write ....
--
Mike Brind
"Simon Gare" <sg@simongare.comwrote in message
news:er****************@TK2MSFTNGP06.phx.gbl...
Hi all,
I have a dynamic value from a recordset that if it is a 0 value I want
it
to
be hidden.
something like
If Recordset.Fields.Item("CarPark") = 0 Then
value hidden
Else
Show value
Anyone help?
Regards
--
Simon Gare
The Gare Group Limited
website: www.privatehiresolutions.co.uk