I created an OCX that will take a string as parameter and then will write
graphical output on a form. The graphics are code generated using the Line
function. This works fine when I use the OCX in another VB5 application. I
had hoped to be able to just place the OCX in Access in a form or report,
and depending on the value of a field it would generate the graphic.
However, I don't seem to be able to connect my object to the Control Source:
the field isn't showing in the Data tab. (I hope that I do make myself
clear)
So basically my question is: how can I create an OCX in VB5 that will show a
"Control Source" field in the Data tab in the properties screen of a
report/form in MsAccess ?
thanks already for your help.
Carl
Alex Dybenko - 08 Oct 2003 11:48 GMT
property should be databound. in VB5 - place cursor within your property in
code, then menu - tools-procedure attributes. there you can specify that
proc is databound
HTH

Signature
Alex Dybenko (MVP)
http://Alex.Dybenko.com
> I created an OCX that will take a string as parameter and then will write
> graphical output on a form. The graphics are code generated using the Line
[quoted text clipped - 12 lines]
>
> Carl