>>Is it possible to cycle through all text box controls on a form and set their tooltip property based on the field comments defined in the DBC?
>>
>>TIA
>
>Don't cycle through them, let your textbox class do it in it's init event:
>
>IF MEPTY(THIS.toolTipText) AND !EMPTY(THIS.ControlSource)
> THIS.ToolTipText = DBGETPROP(THIS.ControlSource, "Field", "Comment")
>ENDIF
>
Thanks Eric, I tried this code and got the error
No database is open or set as the current database. I have the database open ( Hmmmm )
I can referene the "Comment" property of the text box because I dragged it onto the form and "copy field comments" is set in options... but if I change the comments, it won't show up in my tooltip... Any ideas?
Thanks