MS Access Form's Caption (another question)...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Thank you again "Mark" for the helpful information you provided. The code
that you recommended to me ...

If Not IsNull(Me.PBRNName) Then
Me.Caption=Me.PBRNName & "'s Evaluation Data Entry Form"
Else
Me.Caption="Evaluation Data Entry Form"
End If

.... Worked out very well.

I have another question about the above code. With this code, whatever
information the user enters into it, such as "Wayne Peacock", the title bar
will change from "Evaluation Data Entry Form" to "Wayne Peacock's Evaluation
Data Entry Form"; the way I needed it to do.

Could I go one more step higher and make "Wayne Peacock" a different color
within the title bar, while the rest of the information " 's Evaluation Data
Entry Form" it's default setting?

I might be pushing my luck but was just wondering.

Or if anyone has any suggestion, your help and comments would greatly be
appreciated!!! :-)

Thanks again you guys for all the help you do provide.

Sincerely,

Leonard Wayne Peacock
 
Firstly Leonard, you're welcome. I myself have learned much from the fine
people in the newsgroups, and thought it only fair that I try to contribute
back.

Secondly, I highly doubt that you can change the format of part of the text
and not the rest; especially with the window caption. You could change the
name portion to all upper-case if you want just by changing one line of
code:

Me.Caption=UCase(Me.PBRNName) & "'S Evaluation Data Entry Form"

will print out as: "WAYNE PEACOCK'S Evaluation Data Entry Form"
 
:-) OUTSTANDING!! That did the trick!!
Yea I am definately learning a lot from folks like yourself. Thanks so much
for your time and help!

Sincerely,

Leonard Wayne Peacock
 
Back
Top