form captions

Coleman984

Registered User.
Local time
Today, 11:27
Joined
Jul 28, 2011
Messages
89
I was wondering if it is possible to assign this to a form caption forms!frmEmployee.comNumber. Like this

"Employees with more than " & forms!frmEmployee.comNumber & " point(s)"

Or something like that.

Failing that is there a way to set a query caption?
 
Try using the following code in the On Current event of your form:

Code:
Dim strCaption as String
 
strCaption = ""Employees with more than " & Me.comNumber & " point(s)" 
me.caption = strCaption
 
that works. Thanks.
 

Users who are viewing this thread

Back
Top Bottom