Re: rs.RecordCount issue...
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Fri, 18 May 2007 12:08:16 -0400
Irfan wrote:
sorry guys, i'm new to all this, i actually did use OLEDB and now i
realize i have mix of ADO and OLE ... does that matter a lot? ...
:-)
ADO uses OLE DB Providers to connect to databases. So no, it does not
matter. ;-)
following is my connection method...
Set objConnection = CreateObject("ADODB.Connection")
objConnection.Open "Provider = Microsoft.Jet.OLEDB.4.0;Data Source ="
& NetPath & dbfile
Set objRecordSet = CreateObject("ADODB.Recordset")
objRecordset.CursorLocation = adUseClient
objRecordset.Open "SELECT * FROM " & tab2 & "" , objConnection,
adOpenStatic, adLockOptimistic
this is the normal way i have handled all the databases.
.... and a fine method it is. This is not relevant to the problem you are
experiencing.
Have you gotten a sql statement for us to look at yet?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- References:
- Re: rs.RecordCount issue...
- From: Bob Barrows [MVP]
- Re: rs.RecordCount issue...
- From: Alexander Mueller
- Re: rs.RecordCount issue...
- From: Bob Barrows [MVP]
- Re: rs.RecordCount issue...
- Prev by Date: Re: Read Time Synchronization Results
- Next by Date: Re: VBScript to change phone format in AD....
- Previous by thread: Re: rs.RecordCount issue...
- Next by thread: Populate a web form with Excel data
- Index(es):
Relevant Pages
|