Ask a Question related to ASP, Design and Development.
-
Miguel Orrego #1
An easy one I hope
I want to redirect to a page if a variable is greater than 1 so I'm using
the following code but get an incorrect syntax error, can somebody please
tell me the correct syntax?
Cheers.
Code:
If iRecordCount = >1 then
response.redirect "test.asp"
End If
Miguel Orrego Guest
-
easy image scaling question, i hope?
ok i placed my image, scaled it down, or up. now i want to scale it back to its original size. tried going to the transform palette and selecting... -
Easy question (i hope)
I have built a custom control with a hidden html input box. I use this hidden field to hold a value that i wanted posted back to the server after... -
EASY QUESTION - I Hope
This works for me, can you try this? does it work for you? <cfform format='flash' method='post' style="background-color: ##eeEEee"> <cfinput ... -
Easy question = easy answer?
Well, so I'm pretty new with Freehand, at the mo running with MX and havin' a problem (not big, but anyway)... I'm creating some cards and they... -
Easy Question/Easy Answer
Ok, this is all i want to know how to do, i made a text link, now when someone rolls over it with their pointer i want it to change color. Simple? -
Evertjan. #2
Re: An easy one I hope
Miguel Orrego wrote on 19 aug 2003 in
microsoft.public.inetserver.asp.general:
It is not English free-for-all, but a computer language:> I want to redirect to a page if a variable is greater than 1 so I'm using
> the following code but get an incorrect syntax error, can somebody please
> tell me the correct syntax?
>
> Cheers.
>
> Code:
>
> If iRecordCount = >1 then
> response.redirect "test.asp"
> End If
>
If iRecordCount > 1 then
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. Guest
-
Tim Slattery #3
Re: An easy one I hope
"Miguel Orrego" <miguel@stressedmonkey.net-nospam> wrote:
You seem to have left a space between the equal sign and the greater>I want to redirect to a page if a variable is greater than 1 so I'm using
>the following code but get an incorrect syntax error, can somebody please
>tell me the correct syntax?
>
>Cheers.
>
>Code:
>
>If iRecordCount = >1 then
than sign, and you've got them in the wrong order. You're trying to
say "greater than or equal". The symbol for that is two characters: >=
with no space. So:
If iRecordCount >= 1 Then>response.redirect "test.asp"
>End If
>
--
Tim Slattery
MS MVP(DTS)
[email]Slattery_T@bls.gov[/email]
Tim Slattery Guest



Reply With Quote

