Prevent Access Window to show name of report

StefanSch

Registered User.
Local time
Today, 09:42
Joined
Jan 18, 2003
Messages
136
Hello there

The name of my application is "Address Database".

When I open my main report, the Access Window shows the following:

Address Database (Address Report)

How do I get rid of the additional information (Address Report) which shows the user which report is currently open? I would like that the Access Window shows ONLY the name of the application.

Please note that the same thing happens with forms
(e.g. Address Database (Entry Form) )

Thank you

Stefan
 
I am sure there is an easier way but I can't find it, but this works:

Add this to a public module

Code:
Public Sub HideCaption()
CodeContextObject.Caption = vbNullChar
End Sub


Call it from the OnLoad event of forms and OnOpen event of reports:


Code:
Private Sub Form_Load()
HideCaption
End Sub
 
Hello Fornation

Thank you very much. This works beautifully.

regards, Stefan
 

Users who are viewing this thread

Back
Top Bottom