Computing.Net > Forums > Programming > ado problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ado problem

Reply to Message Icon

Name: siddiqui (by uzairahmad)
Date: October 18, 2005 at 12:06:28 Pacific
OS: xp pro
CPU/Ram: P-3 /128
Comment:

hello
i am using vb 6.using ADO how can i count records. when i use "rs.recordcount" it returns -1. also tell me for editing records. like DAO there no method of edit in ADO. iam using microsoft access 97 on back end. help me!
uzair.



Sponsored Link
Ads by Google

Response Number 1
Name: Chi Happens
Date: October 24, 2005 at 03:42:34 Pacific
Reply:

You need to use the cursor.

Dim RS As New Adodb.RecordSet
RS.CursorLocation = AdUseClient

then after you RS.Open you can check RS.RecordCount.


Chi

They mostly come at night...mostly.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: ado problem

ADO.Net MSDE connection problems www.computing.net/answers/programming/adonet-msde-connection-problems/13937.html

VB & ADO's www.computing.net/answers/programming/vb-amp-ados/501.html

my second problem in vb (no. 2) www.computing.net/answers/programming/my-second-problem-in-vb-no-2/4130.html