>>>How is it possible to expose an object type property on the active-x control property window such as DATASOURCE property.
>>
>>From the Tools menu, open «Procedures Attributes». Select one of the property you want to be databound. Click the Advanced button. Click at least on «property is databound» and «This property binds to datafield».
>
>This works fine.
>I have another case where the active-x user must enter in the ChildFormName property the form name to be called, and as you know the form is an object which means that I can't issue ChildFormName.Show command.
>Any workaround??
You can use the Forms collection:
Private Sub Command1_Click()
Dim x As Form
Set x = Forms.Add("form2")
x.Show
End Sub
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com