>Hi Eric,
>
> I tried what you suggested and it worked to a point. I compiled the OCX and used it in a standard project. I then put an ADODC control on the same form. I set the DataField and DataSource properties of the OCX control, but nothing is displayed from the database when I run the project.
>
>What am I doing wrong?
Have you tried to bind a simple text box (only to check that your datacontrol is OK)? Is the property that is set to DataField is displayed in a control?
You could send me your project so I can have a look.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com