Leo
Please write a short example of checking a recordset for BOF and EOF "at the same time". I know what you're saying but I can't visualize the argument.
Nelson
Thanks Leo
I was being facetious when I said "2% processor resources" - actually I don't want to cycle recordsets anymore than absolutely necessary as you can imagine. I was always getting a -1 return value just like you said.
One of the reasons I I was counting recordsets for one...
Well I could never make RowCount work either so I was going to suggest my time-proven:
<%
i = 0
rs.MoveFirst
do while not rs.EOF
i = i+1
rs.MoveNext
loop
Response.Write("<p># of Records -->" & i)
%>
It's only 7 lines longer and additional 2% processor resources!!
I think I'll try...
Sorry - I said I agree with the single quote idea and I put the quotes there anyway. If nbnews is a number field then I would say:
UPDATE nouvelle (date,title,contents) SET ('fdsdf','sdfsd','sdfsdf') WHERE nbnews=57;
I am writing numerous ASPs in Interdev 6.0 with server side VBScript and some client side Javascript. I want all of my pages to load in a browser where i can remove the menu bar, status bar, etc. I can load the default.asp in a full browser, for example, and fire subsequent links using the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.