Is there anyway to move the pointer to a particular record in recordset, as
done in ASP.
Any help is highly appreciated!

Prakash

-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Michael Richman
Sent: Friday, April 13, 2001 12:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Anding in while construct


In a message dated 4/13/01 11:08:53 AM Eastern Daylight Time,
[EMAIL PROTECTED] writes:


>         I want to && rowCtr in while construct, but i think i am wrong.
Cud
> somebody suggest me the way.....
>
> while {[ns_db getrow $db $row  &&  rowCtr <= 5]}
> ************error***********************
>


This is a simple tcl error. You're not closing the ns_db getrow statement:
Should be (note square brackets):

       while {[ns_db getrow $db $row]  &&  $rowCtr <= 5}

I assumemd you meant "$rowCtr" and not just "rowCtr".

-- michael
___________________
 michael richman
 aol local technology
 214.954.6204

Reply via email to