Can value in ControlTip Text change automatically.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Form is a multi-record form.

I need to be able to set the ControlTip Text id a text box to
="abc" & variable & "xyz"

Is this sort of thing possible?
 
Form is a multi-record form.

I need to be able to set the ControlTip Text id a text box to
="abc" & variable & "xyz"

Is this sort of thing possible?

You can if you use code.
For example, code the control's MouseMove event:

Me![ControlName].ControlTipText = "abc" & VariableName & "xyz"
 
ThomasAJ said:
Form is a multi-record form.

I need to be able to set the ControlTip Text id a text box to
="abc" & variable & "xyz"

Is this sort of thing possible?


Yes. but the tip for the **current record** will be
displayed in every row. If that's ok, the code in the
form's Current event would be like:

Me.thetextbox.ControlTipText = "abc" & variable & "xyz"
 
I tried Me![ControlName].ControlTipText = "abc" & VariableName & "xyz" in the
MouseMove but the computer spins in circles and the TIP never displays.
--
Regards
Tom


fredg said:
Form is a multi-record form.

I need to be able to set the ControlTip Text id a text box to
="abc" & variable & "xyz"

Is this sort of thing possible?

You can if you use code.
For example, code the control's MouseMove event:

Me![ControlName].ControlTipText = "abc" & VariableName & "xyz"
 
Sorry but no good.

--
Regards
Tom


Marshall Barton said:
Yes. but the tip for the **current record** will be
displayed in every row. If that's ok, the code in the
form's Current event would be like:

Me.thetextbox.ControlTipText = "abc" & variable & "xyz"
 
Sorry but no good.

I'll assume you did change the generic variable code we used to
whatever your actual variable name is.

I would suspect, since the code Marsh and I gave you worked for us,
that your Variable is not Global, and therefore is not available in
the event you called this code from.

Perhaps you should take a moment and provide us with a bit more
specific detail. Use the actual variable name, where it's stored, why
you need to do this.
 
By "no good" I meant that having the same info for every record is no good.
The variable is different for each record.
 
Back
Top