Can value in ControlTip Text change automatically.

T

ThomasAJ

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?
 
F

fredg

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"
 
M

Marshall Barton

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"
 
T

ThomasAJ

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"
 
T

ThomasAJ

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"
 
F

fredg

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.
 
T

ThomasAJ

By "no good" I meant that having the same info for every record is no good.
The variable is different for each record.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top