Form Captions

Kenln

Registered User.
Local time
Today, 09:48
Joined
Oct 11, 2006
Messages
551
Hi,
Here's the issue.
The Form Caption is changed programatically when the form is first opened.

Using the OpenArgs the caption is passed
Me.Captions = strFormCaption.

This is always worked until recently. Now whenever I create a new form it doesn't work. All I see this the app name.

Is there an Access Setting or form parameter I'm missing???
I have Access 2007 installed but the apps are still 2003 (they'll be upgrade soon I hope).

Any ideas.
 
Already set that way.
It's odd, it's always worked and now all I see is the app name.
 
Already set that way.
It's odd, it's always worked and now all I see is the app name.

The only way you'll see the form name on the app bar/task bar is if the form is maximized. If it is not maximized then the app bar and task bar will only show the app name.
 
Not on the app task bar on bottom. But at the top (middle) of the screen.
 
If I step though the opening of the form (doesn't matter if I use Form Open or Form Load).

I see the Caption change until the subroutine ends this is switches to the App Name???
 
For now I'm going to change after the form opens
i.e. Forms.Form_Name.Caption = "blah, blah, blah".

That seems to work.

I was mistaken, even steping through the code as the form opens (F8) I never see the caption which should be:
1.5. - Setup - 'App Name'.
Very odd, it's only on newly created forms. I can workaround but I don't know why I should have too.
 

Attachments

  • Screen Capture.JPG
    Screen Capture.JPG
    54.3 KB · Views: 174
It's possible you have some corruption going on there. I just ran more tests on a database I have and the caption worked fine on that form.
 
Even If I do I'm not sure how to isolate it.
 
I just created a new form,
Copied and pasted the controls.
change the properties and record source.

And same result.

I'm going to stick with changing the caption after it is opened.

I have no idea what's happening...
 
Even If I do I'm not sure how to isolate it.

You can many times eliminate corruption by creating a brand new, blank mdb/accdb file and then IMPORTING everything from the old into the new (not copy and paste mind you but IMPORTING).
 

Users who are viewing this thread

Back
Top Bottom