PDA

Click to See Complete Forum and Search --> : Can any one help me for these 3 questions


isvanand
Oct 10th, 2000, 08:22 AM
How would create multithreaded applications in VB?

Why VB is called an Object Based Programming language and not Object Oriented?

When I Create a Recordset in ADO with any back end my RecordCount Property of the Recordset Object is always -1 even if i have Records in the base table. How should I overcome this.

Stevie
Oct 10th, 2000, 09:42 AM
I can't help you with question 1.

VB is not called object oriented as it does not have the full range of object oriented features, such as inheritance. It is called object based instead as it has most of the features.

The RecordCount property will not be correct until you have moved to the end of the recordset. Once the end has been reached (use MoveLast) the RecordCount is known.

Hope this helps. :)

monte96
Oct 10th, 2000, 11:01 AM
The recordcount property is only guaranteed to be accurate when opening a recordset based on a table.

Make sure your cursor location is adUseClient or it will return -1