-
WSkwvh
AskWoody LoungerRich,
Thanks for the followup.
The pc’s are not sharing the same application. The mde is on the local workstation and is linked to the tables in the mdb backend.For testing purposes, I even put the front end and back into one, with the same results. My next step is to look at code behind the form, though I am not sure at this point what I should be seeking.
Thanks.
kwvh
-
WSkwvh
AskWoody LoungerThanks Wendell,
The DateDiff() does give me the difference but does not give me years and months, at least not that I can find.
I am seeking the value to include in a report. The report contains several individuals with some demographic information. Included in the needed information is the the length of time in years and months that the employee has worked for the company. I found some nice snippets of code in the thread 187447, but I don’t know if that will do what I need, nor how to incorporate the function into fields on a report.
Sorry to be so ignorant, but I am trying to learn.
TIA
Ken
-
WSkwvh
AskWoody LoungerWell, on the other hand, I may be in Santa Clara (Paramount’s Great America) on business. Who knows, I may get there before you get to TX. Regardless, I thank you very much!
Kwvh
-
WSkwvh
AskWoody LoungerGod Bless You! I owe you a lunch.
-
WSkwvh
AskWoody LoungerFebruary 28, 2003 at 12:00 am in reply to: Filtered data into Preformatted report (97 and 2k) #657261Thanks Pat and WTH. I can see this is going to involve some work. I am glad is not one of the many allergies that I have.
-
WSkwvh
AskWoody LoungerFebruary 26, 2003 at 5:55 pm in reply to: Filtered data into Preformatted report (97 and 2k) #656888Ok I will try this. However, I notice I did not indicate in initial post that all the reports are based on queries. Will this have any effect? Of special significance is what if the criteria in the filter includes a field NOT in the report query.
For example, if I have filtered the data set, via form, for:
Date, department, and employeenameAND the report the user wants to print doesn’t contain the “employeename” in the report query, will it still run the report?
Thx.
-
WSkwvh
AskWoody LoungerJohn asked for my “solution”. Obviously I didn’t do a very good job explaining it. LOL
The Opportunity:
My customer(s), like me, are over 40 and therefore “age related visually challenged”. In addition, the resolution of their monitors are not the best in the world. With a good monitor and good eyes, it is not difficult to see which tab is on top, but they have neither great monitor nor good eyes.The properties of the labels on the form are set so they change colors when the user is in a field/control. This makes it very easy for the user to determine what field the cursor resides in. This was probably my undoing, as they really like that feature and it works very well in 97. (can’t use it in Access 2k due to screen flash issue that Mark mentions).
Because it is easy to tell which FIELD they are in, they want be able to tell at a glance what TAB they are on.
[For the life of me I don’t know why. If they know what field, what difference does it make what tab? But that is another issue. I am here to serve.]The Solution: (Remember, I did say it was low tech)
I put a wide (five point) red horizontal line beneath the text on each of the tabs.The forms have a gray background with little or no color on the controls or labels. As they tab through the pages, it is immediately obvious which is the current tab as there is a bright red line at the top “underling” the text on the tab indicating the “active” tab.
The Results:
Emailed sample to customer to review, and set up appt for Monday to meet and discuss. Got email back this morning that is exactly what they wanted. So Monday, there is no need to meet, just install. kewl! Sometimes I have a tendency to make things more complicated than necessary.Thanks for ALL the help so many have given me these last weeks. This is a great community of folks.
Ken
-
WSkwvh
AskWoody LoungerCheck settings in the Tools>Options>Tables/Queries>”AutoIndex on Import/Create”.
Anything listed there will automatically create indexes upon importing.Kwvh
-
WSkwvh
AskWoody LoungerThanks Wendell,
I found a “low tech” solution that looks promising. A five point red line beneath the text on the tab. Seems to meet the need. I will show them on Monday and see if I can get their blessing.
Kwvh
-
WSkwvh
AskWoody LoungerMark,
Thanks again for your solution. It works great! That is a super control you have that allows switching of the fly. I never considered that. Tunnel vision I suppose.
Ken
-
WSkwvh
AskWoody LoungerThank you! It worked PERFECTLY!
-
WSkwvh
AskWoody LoungerThis is a snippet of code that I use for converting to Proper. I didn’t write the code, I downloaded it a long time ago from http://www.mvps.org. Dev Ashish posted it, though his name was not in the documented code. I hope this helps.
‘******************* Code Begin ****************
Function Proper(X)
‘ Capitalize first letter of every word in a field.
‘ Use in an event procedure in AfterUpdate of control;
‘ for example, [Last Name] = Proper([Last Name]).
‘ Names such as O’Brien and Wilson-Smythe are properly capitalized,
‘ but MacDonald is changed to Macdonald, and van Buren to Van Buren.
‘ Note: For this function to work correctly, you must specify
‘ Option Compare Database in the Declarations section of this module.
Dim Temp$, C$, OldC$, i As Integer
If IsNull(X) Then
Exit Function
Else
Temp$ = CStr(LCase(X))
‘ Initialize OldC$ to a single space because first
‘ letter needs to be capitalized but has no preceding letter.
OldC$ = ” ”
For i = 1 To Len(Temp$)
C$ = Mid$(Temp$, i, 1)
If C$ >= “a” And C$ <= "z" And _
(OldC$ “z”) Then
Mid$(Temp$, i, 1) = UCase$(C$)
End If
OldC$ = C$
Next i
Proper = Temp$
End If
End Function
‘******************* Code End ****************Ken
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Windows 11 Windows Updater question
by
Tex265
6 hours, 11 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
13 hours, 6 minutes ago -
Registry Patches for Windows 10
by
Drcard:))
17 hours, 37 minutes ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
11 minutes ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
10 hours, 59 minutes ago -
Align objects on a OneNote page
by
CWBillow
23 hours, 4 minutes ago -
OneNote Send To button?
by
CWBillow
23 hours, 48 minutes ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
1 day, 8 hours ago -
No Newsletters since 27 January
by
rog7
1 day, 4 hours ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
8 hours, 54 minutes ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
7 hours, 34 minutes ago -
Google One Storage Questions
by
LHiggins
8 hours, 56 minutes ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
8 hours, 15 minutes ago -
Ancient SSD thinks it’s new
by
WSila
13 hours, 30 minutes ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
1 day, 23 hours ago -
WinRE KB5057589 fake out
by
Susan Bradley
1 day, 16 hours ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
1 day, 7 hours ago -
Firefox 137
by
Charlie
9 hours, 54 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
2 days, 11 hours ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
2 days, 11 hours ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
2 days, 11 hours ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
1 day, 7 hours ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
2 days, 15 hours ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
2 days, 21 hours ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
3 days, 7 hours ago -
Office apps read-only for family members
by
b
3 days, 10 hours ago -
Defunct domain for Microsoft account
by
CWBillow
3 days, 7 hours ago -
24H2??
by
CWBillow
1 day, 7 hours ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
1 day, 3 hours ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
1 day, 7 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.