Is it possible to change the colour of the text on the Caption of a Tab, depending on the contents of a field in a sub-form.
I have a "Memo" field in a sub-form on a Tab form. If there is anything in the Memo , I would like the caption to be red - if not black. I can change the the caption itself - but not the text colour.
I'm using this on the on current event of the sub.form
If me.memofield > "" then
me.parent.memopage.caption="No Memo"
else
me.parent.memopage.caption="Memo!"
end if
I've tried .forecolor but no go.
Thanks
Marion
I have a "Memo" field in a sub-form on a Tab form. If there is anything in the Memo , I would like the caption to be red - if not black. I can change the the caption itself - but not the text colour.
I'm using this on the on current event of the sub.form
If me.memofield > "" then
me.parent.memopage.caption="No Memo"
else
me.parent.memopage.caption="Memo!"
end if
I've tried .forecolor but no go.
Thanks
Marion