VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 3
Anonymous
180 Views, 2 Replies

DBGrid

Has anyone ever used the DBGrid tool? And if so how did you set it's
Datasource?
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

What I am trying to acheive is something similiar to MS Access Subform tool
using this DBGrid tool. Is there a better tool for this?





"Dirkasaurus" wrote in message
news:f1a0ac4.-1@WebX.maYIadrTaRb...
> Has anyone ever used the DBGrid tool? And if so how did you set it's
> Datasource?
>
>
Message 3 of 3
Anonymous
in reply to: Anonymous

I use the Microsoft DataGrid Control 6.0 (SP3) (OLEDB) found in
MSDATGRD.OCX. It happily accepts an ADO Recordset object as its datasource.
You don't see its DataSource property in the property sheet, but it is
present. Set it at runtime in the UserForm_Initialize(). See Visual Basic
Concepts->Using the DataGrid Control and DBGRID98.CHM.

The DBGrid control (Microsoft Data Bound Grid Control 5.0 (SP3) in
DBGRID32.OCX) is an older control (VB4 - 5). It also has a DataSource
property that does not display in the property sheet. Set it at runtime.
Its help is in DBGRID96.HLP.
--
John Goodfellow
irtfnm
use john at goodfellowassoc dot com


"Dirkasaurus" wrote in message
news:f1a0ac4.-1@WebX.maYIadrTaRb...
> Has anyone ever used the DBGrid tool? And if so how did you set it's
> Datasource?
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report