|
-
Apr 16th, 2000, 06:14 PM
#1
Thread Starter
Junior Member
How to maintain the recorset in a recursive functions?
for eg
Public Function upload(id)
sqlstr = "select doc_id,doc_title from t_document where parent_id =" & id
Set orschild = oCompanyConn.Execute(sqlstr)
Do While Not orschild.EOF
loopsqlstr = "update t_document set document_type_limiter=" & toolid & " where doc_id =" & id
oCompanyConn.Execute (loopsqlstr)
orschild.Requery
childupdate orschild("doc_id")
orschild.MoveNext
If Not orschild.EOF Then
upload orschild("doc_id")
End If
DoEvents
Loop
End Function
here I want to maintain the earlier recordset. Is it possibel?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|