473,419 Members | 1,635 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,419 software developers and data experts.

ControlTip Text

Hi everyone,

Does anyone know of a way in MS Access to have the ControlTip Text that
can be set with a message to pop up with the date/time that the field
on the form was last updated along with the username of the person who
updated the record? I'm using the fOSUserName() function from Dev
Ashish to get the users name but I'm not sure how to get these details
included in a ControlTip Text popup or if it's even possible.

Hope someone can help.

Many thanks, Dean...

Dec 19 '05 #1
4 7003
On 19 Dec 2005 14:58:31 -0800, "DeanL" <de*************@yahoo.com>
wrote:
Hi everyone,

Does anyone know of a way in MS Access to have the ControlTip Text that
can be set with a message to pop up with the date/time that the field
on the form was last updated along with the username of the person who
updated the record? I'm using the fOSUserName() function from Dev
Ashish to get the users name but I'm not sure how to get these details
included in a ControlTip Text popup or if it's even possible.


Updating the controltip text is trivial.

me.txtControl.ControlTipText = "Something you want to see"

This will change it for display purposes only. Hence, the design of
the form will retain whatever was in ControlTipText; so in the future
if it isn't "set" for some reason it will go back to what it was.

Now, as far as putting a timestamp in there. What a horrible design
idea (strong letter to follow). If you want to display the date/time
that the record was last updated, feel free to do so, and if you have
absolutely no real estate left on your form, use the status bar.

Why make the user move his/her mouse and wait for the ControlTip to
pop up when that isn't being used to further the user's input decision
on the control in question. Bad. Very bad.

One more thing. Access doesn't automatically store a datestamp as to
when a record was last updated and by whom. If you want that you will
need to store it yourself. The good news is that since you will be
the one doing the storing, you will then know where it is so you can
retrieve it when you place it on the form or in the status bar.

mike
Dec 19 '05 #2

Mike Preston wrote:
On 19 Dec 2005 14:58:31 -0800, "DeanL" <de*************@yahoo.com>
wrote:
Hi everyone,

Does anyone know of a way in MS Access to have the ControlTip Text that
can be set with a message to pop up with the date/time that the field
on the form was last updated along with the username of the person who
updated the record? I'm using the fOSUserName() function from Dev
Ashish to get the users name but I'm not sure how to get these details
included in a ControlTip Text popup or if it's even possible.


Updating the controltip text is trivial.

me.txtControl.ControlTipText = "Something you want to see"

This will change it for display purposes only. Hence, the design of
the form will retain whatever was in ControlTipText; so in the future
if it isn't "set" for some reason it will go back to what it was.

Now, as far as putting a timestamp in there. What a horrible design
idea (strong letter to follow). If you want to display the date/time
that the record was last updated, feel free to do so, and if you have
absolutely no real estate left on your form, use the status bar.

Why make the user move his/her mouse and wait for the ControlTip to
pop up when that isn't being used to further the user's input decision
on the control in question. Bad. Very bad.

One more thing. Access doesn't automatically store a datestamp as to
when a record was last updated and by whom. If you want that you will
need to store it yourself. The good news is that since you will be
the one doing the storing, you will then know where it is so you can
retrieve it when you place it on the form or in the status bar.

mike


Thanks Mike,

I agree that it's an awful design but unfortunately (even after my
continuous complaining) the project managers and powers that be want to
see a timestamp on a controltip text. They're too lazy to run a report
so they just want to "hover" and wait for the data to pop up for them.
It sucks but unfortunately, I'm stuck with the wonderful beauracracy at
CalTrans...lol.

Once again, thanks.

Dean...

Dec 20 '05 #3
Keep in mind that I may not have a clue what I'm talking about...

That said, you'd probably have to do something very ugly like
1. implement something like Allen Browne's audit trail code.
2. maybe in just the Current event of the form, pass the primary key of
the current record to the AuditHistory table and return all the values
modified with modify dates. SO you'd probably need something like a
Domain summary with MAX on Date and grouped by Control/fieldName.
3. Stuff the latest values into the controltiptext of each control.

Ugh. Glad that's your job and not mine! your boss is mean!

Dec 20 '05 #4
COWARDLY LION: I'm going in there, guards or no guards... There's just
one thing I want you fellas to do...

DOROTHY, SCARECROW, TIN MAN: What's that?!

COWARDLY LION: Talk me out of it!!

(sorry, couldn't resist!)

Dec 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Wayne Aprato | last post by:
The controltip text has disappeared in all of my databases in Access 2003 (Access 2000 format). The same controltips show fine when running under Access 2000 on my laptop. Maybe I've missed it,...
2
by: Rob | last post by:
THis is probably an easy one. I want to change the tool tip text in a continuous form for a visible field based on info in a hidden field on the same record. It is easy to put the change in the...
7
by: misscrf | last post by:
I tried to put some text into the controltip text of the properties of a command button. I tested it out and nothing happened. I have the status bar text, but I want the text tip that hovers when I...
0
by: Ron | last post by:
Hi All, If utilized as a sub-form, the ControlTip Texts of all the labels (you know...you can hover the mouse over either the control itself, or the label for that control) flickers like crazy. ...
4
by: Neil | last post by:
I just noticed that control tips aren't working in any of my databases. I recently installed Access 2003, and created a database in it, and noticed that control tips weren't working in my controls....
2
by: DentRouge | last post by:
I've developed an Access interface for a non-profit. I just discovered that the controltip text feature does not work on precisely one of their machines on the network. I've seen that another...
0
by: Tom | last post by:
All: I've inherited a DB with many forms and have been asked to make use of the ControlTips feature to improve the user interface. For ease of updating, I'd like to maintain the ControlTip text...
2
by: woodglass | last post by:
Is it somehow possible to increase the font size of the ControlTip text in Access 97 ?. TIA, woodglass...
2
by: Jshe | last post by:
Is there a way to speed up the time it takes for a controltip text message to appear on a textbox in my forms? Ideally I would like the controltip message to appear instantaneously when the cursor is...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.