If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > When is a field a field?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-15-07, 03:58
KillerApp KillerApp is offline
Registered User
 
Join Date: Jul 2004
Posts: 23
When is a field a field?

I have been musing over this code fragment:

<%
set id = rs.fields("id")
set lastid = rs.fields("lastid")
do while not rs.eof
lastid=id
rs.Update
rs.Movenext
loop
%>

Should this set the value of the field lastid to be that of id? Certainly the =id part gets the value of the field. If lastid= does set the value of the field...how would I assign the variable lastid the value 2?
Reply With Quote
  #2 (permalink)  
Old 01-26-07, 11:59
igordonin igordonin is offline
Registered User
 
Join Date: Jul 2006
Posts: 56
I don't mean any disrespect, but ...

What?!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On