changing label text

securityman

New member
Local time
Today, 10:57
Joined
Nov 8, 2003
Messages
6
I have a form (InputF) where I input employee information. I have a button on this form that gives me a countinuous form (EmployeeF) of all the employees. I have a button on this form that will give me the signle record of a selected employee. When you click this button the single record is placed in the InputF form. Everything works correctly. What I want - the title of the InputF form in the Form Header is "Input Data Form". When I use this form to display the single selected employee record I would like the title to change to "Selected Employee" instead of "Input Data Form". Is there a way to do this?

Thanks,
Securityman
 
changing label

Thanks Rich,

I have been trying to use .Caption property but don't know the syntax. I am new to all this. This is what I have, but don't know where to put it.

In a sub routine:

Dim c as String
c="Selected Employee"
Forms!InputF.Label35.Caption=c

Is this right, if so where would I put it.(in what event procedure of the button_click?):confused:
 
Rich,

I figured it out.:D
I've got it doing what I want. Guess I asked to soon. Brain Freeze!!!!

Thanks again,
Securityman
 

Users who are viewing this thread

Back
Top Bottom