Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Defined Recordset in VB 6 1

Status
Not open for further replies.

Simboti1

IS-IT--Management
Sep 12, 2008
31
BW
How do I declare and use a user defined recordset in VB 6.0
 
A quick and simple example can be found in thread222-1454241.

A search for disconnected recordset on this site also turns up quite a few hits.

HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!

You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

 
Thanks HarleyQuinn

What are the other field types besides adVarChar

Regards

Simboti
 
In your VB IDE, make sure you have a reference set to "Microsoft ActiveX Data Objects 2.X Object Library". Then go to the object browser (F2). In the classes list on the left had side of the screen click on DataTypeEnum. It will list them for you.

Hope this helps

HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!

You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

 
Come to think of it, if you try using the .Append method (as detailed in the code example), when you get to the data type, intellisense will give you the full list to pick from.

HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!

You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top