PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming DataGrids on forms

Reply

DataGrids on forms

 
Thread Tools Rate Thread
Old 25-02-2005, 04:03 PM   #1
Rob Diamant
Guest
 
Posts: n/a
Default DataGrids on forms


I am trying to create a form that displays a MS DataGrid Control 6.0 to list
records from a SQL db for importing into Outlook. For some reason I can't
set the DataSource property (it's not there). However, in VB6 it is. Any
clues / suggestions would be appreciated. I want to use the ADO DataControl
for db conectivity.

TIA

Rob


  Reply With Quote
Old 25-02-2005, 08:56 PM   #2
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: DataGrids on forms

In general grid controls on Outlook forms cannot be bound to a data source,
you have to get a recordset yourself and populate the grid using code to put
one row at a time in the grid.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Rob Diamant" <rob@usi.com> wrote in message
news:OoXLHO1GFHA.2740@TK2MSFTNGP12.phx.gbl...
>I am trying to create a form that displays a MS DataGrid Control 6.0 to
>list records from a SQL db for importing into Outlook. For some reason I
>can't set the DataSource property (it's not there). However, in VB6 it is.
>Any clues / suggestions would be appreciated. I want to use the ADO
>DataControl for db conectivity.
>
> TIA
>
> Rob
>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off