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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A CLASS MODULE AS A DATASOURCE FOR A DATAGRID ??

Status
Not open for further replies.

TNN

Programmer
Sep 13, 2000
417
US
Does anyone know. Can you use a class module that is a vbdatasource and assign it to the ADO Datagrid's datasource property?? If So, How??
The below excerpt from MSDN would seem to say you can:

Syntax

object.DataSource [=datasource]

The DataSource property syntax has these parts:

Part Description

object An object expression that evaluates to an object in
the Applies To list.
datasource An object reference that qualifies as a data
source, including ADO Recordset objects, and
>>>>>>classes or user controls defined as data sources
>>>>>>>(DataSourceBehavior property = vbDataSource).

Thank You Anyone
TNN, Tom
TNPAYROLL@AOL.COM



TOM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top