This topic is locked

-1 problem

1/6/2008 10:43:18 AM
ASPRunnerPro General questions
U
uludag author

Hi,

I asked the same question regarding phprunner, and Alexey answered it. The answer worked with phprunner, but not with asprunner. So I have to ask it again.

I am using MS access database. In it, if the column is empty, there appears automatically -1. I would like it not to appear. The code that Alexey provided is that:

if($value==-1)

$value="";
This code works with phprunner. When I put the same code to asprunner, web page becomes unavailable. What is right code for asprunner that make -1 not appear.

Sincerely,

Uludag.

Alexey admin 1/9/2008

Uludag,
use this code with ASPRunner:

if CStr(strValue)="-1" then

strValue=""

end if

U
uludag author 1/9/2008

Thank you very much Alexey,

You are marvelous.