RE: Best practices in ADO
- From: Cam <Cam@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 May 2005 05:43:09 -0700
dim ConXion as new Adodb.connection
dim rs as new adodb.recordset
if conxion.state = 0 then
ConXion.open " database location string"
end if
rs.open "select something from sometable", method here, lock here
do
what you want with the records
loop
if u are done
rs.close
set rs = nothing
if u don't need the connection
if conxion.state = 1 then
conxion.close
set conxion = nothing
end if
"Sergi" wrote:
> Can someboy post some best practices with ADO?? Do you know some website?
>
>
>
.
- References:
- Best practices in ADO
- From: Sergi
- Best practices in ADO
- Prev by Date: RE: One recordset for every table. Is it good practice???
- Next by Date: RE: vb.net - datagrids inserting records
- Previous by thread: Best practices in ADO
- Next by thread: Re: Best practices in ADO
- Index(es):