Hi Graham, thanks for the info.
This code is clear to me now, I totally understand what is happening. And
it didn't crash, so the custom property and its value are deifnitely part of
the project now.
The only thing I don't see here in the code is the part that actually
changes the caption of the main Access window to this new value we are
assigning to the custom property.
What I'm looking to do is display the name of the user's company in the main
Access window, and the name of their company is stored in a table. So once
they open the app, I want to run some code that will retrieve the name of
their company from the tblCompany table, and display it in the main Access
window caption.
As an example, for a form, I could easily put this code in the Open event of
the form and the caption would change:
Me.Caption = "Graham's Form"
But I cannot find a way to do this for the main Access window caption. And
by the way, I'm running this with the Access 2003 runtime.
I'm sorry if I didn't make this clear from the beginning...I hate to take up
so much of your time with this.
Again, I appreciate the help very much. This will make for a slick little
feature for the app.
Take care.