-
WSkwvh
AskWoody LoungerSimon,
Thanks. I had not thought of the alternative to IIF for the two logical fields. duh.
Do you have a suggestion for summing the following:
=IIf(([M_logPersonal]=False And [M_logVacation]=True And [chkFMLA]=False And [M_logRestrictedDuty]=True) Or ([M_logPersonal]=False And [chkFMLA]=False And [M_logVacation]=True And [M_logOverAge]=True),True,False)NOTE: items prefaced with “M_” are fields in the query, items prefaced with “chk” are controls in the detail section of the report
-
WSkwvh
AskWoody LoungerCharlotte,
Thanks for feedback.
There are two Other tables involved:
tblBiped
pkey
strSSN
strcountry
strH1
strH2
strH3
dtmDOH
dtmTermtblOFI
pkey
fkey
strOFINumber
strSSN
strH1
strH2
strH3
dtmOFIThe user(s) do(es) not see the underlying tables, just the data, presented in forms and reports. They can change the value of any of the three labels, and then run reports or open forms and instead of “strH1”, “strH2”, or “strH3” printing, it prints the corresponding value from the tblLabels table. The names “label1”, “label2”, “label3” from tblLabels.strName should more appropriately have been named H1, H2, and H3, but this is an inherited project. There is probably a better way, but for now I am stuck with what I have. There about 20 folks using the existing version, and they want additional reports and forms. Ultimately it will be rewritten from scratch, with better practices and conventions, but initially I need to meet their immediate needs with minimal programming on our part (that is create reports and forms for the users using existing structures).
Does this make sense, or have I muddied the water?
Thanks for all your help. In addition to being brilliant, you are a kind person!
Ken
-
WSkwvh
AskWoody LoungerCharlotte,
Thanks for feedback.
There are two Other tables involved:
tblBiped
pkey
strSSN
strcountry
strH1
strH2
strH3
dtmDOH
dtmTermtblOFI
pkey
fkey
strOFINumber
strSSN
strH1
strH2
strH3
dtmOFIThe user(s) do(es) not see the underlying tables, just the data, presented in forms and reports. They can change the value of any of the three labels, and then run reports or open forms and instead of “strH1”, “strH2”, or “strH3” printing, it prints the corresponding value from the tblLabels table. The names “label1”, “label2”, “label3” from tblLabels.strName should more appropriately have been named H1, H2, and H3, but this is an inherited project. There is probably a better way, but for now I am stuck with what I have. There about 20 folks using the existing version, and they want additional reports and forms. Ultimately it will be rewritten from scratch, with better practices and conventions, but initially I need to meet their immediate needs with minimal programming on our part (that is create reports and forms for the users using existing structures).
Does this make sense, or have I muddied the water?
Thanks for all your help. In addition to being brilliant, you are a kind person!
Ken
-
WSkwvh
AskWoody LoungerJohn,
Thanks! I will give it test!
Ken
-
WSkwvh
AskWoody LoungerJohn,
Thanks! I will give it test!
Ken
-
WSkwvh
AskWoody LoungerAlthough there must be a cleaner and kewler way of deleting these records, I ended up using an update query and then a delete query. I added a field to the first table, updated the new field with string if it was to be deleted, then ran a delete query for all records that contained that string.
-
WSkwvh
AskWoody LoungerAlthough there must be a cleaner and kewler way of deleting these records, I ended up using an update query and then a delete query. I added a field to the first table, updated the new field with string if it was to be deleted, then ran a delete query for all records that contained that string.
-
WSkwvh
AskWoody LoungerPatt,
Thanks. I tried setting the relationship to the foreign key field (recordnumber) with no success. I even used a make table query to create a table of the records needing to be deleted, then create a delete query using the newly created table and the tblPayments table, relating to the pkey (a primary field) in both, and continue to get the same error. gggrrrrrrrrrrrrrrrrr! !!
-
WSkwvh
AskWoody LoungerPatt,
Thanks. I tried setting the relationship to the foreign key field (recordnumber) with no success. I even used a make table query to create a table of the records needing to be deleted, then create a delete query using the newly created table and the tblPayments table, relating to the pkey (a primary field) in both, and continue to get the same error. gggrrrrrrrrrrrrrrrrr! !!
-
WSkwvh
AskWoody LoungerJerry,
thanks for you help. Unfortunately, some of their notes exceeded what Excel can handle in a single cell. So I just wrote this off as a learning experience, and hope they use Access, or Excel, instead of Word for these types of applications in the future.
We did play with replacing the carriage returns with a series of characters (i.e. “uuuuuuu” in Word) and then replacing the string with a carriage return, but too proved cumbersome, and slow.
Some folks think that because they have something in their computer, they have “automated” their office. Funny how sometimes, all this “automation” results in more work instead of less. On a positive note, at least they are not afraid of the technology and are pushing their envelops and trying to improve. Ya gotta love it!
Ken
-
WSkwvh
AskWoody LoungerJerry,
thanks for you help. Unfortunately, some of their notes exceeded what Excel can handle in a single cell. So I just wrote this off as a learning experience, and hope they use Access, or Excel, instead of Word for these types of applications in the future.
We did play with replacing the carriage returns with a series of characters (i.e. “uuuuuuu” in Word) and then replacing the string with a carriage return, but too proved cumbersome, and slow.
Some folks think that because they have something in their computer, they have “automated” their office. Funny how sometimes, all this “automation” results in more work instead of less. On a positive note, at least they are not afraid of the technology and are pushing their envelops and trying to improve. Ya gotta love it!
Ken
-
WSkwvh
AskWoody LoungerCharlotte,
Thanks once again. I shall assign them punishwork, just like in school, and have them practice:
“Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,I shall never use Word as a database,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,I shall never use Word as a database, I shall never use Word as a database,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,I shall never use Word as a database, I shall never use Word as a database,I shall never use Word as a database, I shall never use Word as a database”
until they “get it”.
FYI – I went ahead and imported it via HTML, and they will use today as their start off with Access, and then clean up the memos on as as needed basis.
thanks,
Ken
-
WSkwvh
AskWoody LoungerCharlotte,
Thanks once again. I shall assign them punishwork, just like in school, and have them practice:
“Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,I shall never use Word as a database,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,I shall never use Word as a database, I shall never use Word as a database,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,Cntrl-C, Alt-Tab, Cntrl-V,Cntrl-C, Alt-Tab,I shall never use Word as a database, I shall never use Word as a database,I shall never use Word as a database, I shall never use Word as a database”
until they “get it”.
FYI – I went ahead and imported it via HTML, and they will use today as their start off with Access, and then clean up the memos on as as needed basis.
thanks,
Ken
-
WSkwvh
AskWoody LoungerCharlotte,
duh, sorry. Had tunnel vision and a bf at the same time.
thanks!
Ke
-
WSkwvh
AskWoody LoungerCharlotte,
duh, sorry. Had tunnel vision and a bf at the same time.
thanks!
Ke
![]() |
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 10 gets 6 years of ESU?
by
n0ads
1 hour, 7 minutes ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
9 hours, 1 minute ago -
Search Forums only bring up my posts?
by
Deo
9 hours, 14 minutes ago -
Windows Spotlight broken on Enterprise and Pro for Workstations?
by
steeviebops
20 hours, 43 minutes ago -
Denmark wants to dump Microsoft for Linux + LibreOffice
by
Alex5723
13 hours, 20 minutes ago -
How to get Microsoft Defender to honor Group Policy Setting
by
Ralph
21 hours, 19 minutes ago -
Apple : Paragon’s iOS Mercenary Spyware Finds Journalists Target
by
Alex5723
1 day, 7 hours ago -
Music : The Rose Room – It’s Been A Long, Long Time album
by
Alex5723
1 day, 8 hours ago -
Disengage Bitlocker
by
CWBillow
22 hours, 32 minutes ago -
Mac Mini M2 Service Program for No Power Issue
by
Alex5723
1 day, 10 hours ago -
New Win 11 Pro Geekom Setup questions
by
Deo
9 hours, 10 minutes ago -
Windows 11 Insider Preview build 26200.5651 released to DEV
by
joep517
1 day, 17 hours ago -
Windows 11 Insider Preview build 26120.4441 (24H2) released to BETA
by
joep517
1 day, 17 hours ago -
iOS 26,, MacOS 26 : Create your own AI chatbot
by
Alex5723
1 day, 21 hours ago -
New PC transfer program recommendations?
by
DaveBoston
2 hours, 40 minutes ago -
Windows 11 Insider Preview Build 22631.5545 (23H2) released to Release Preview
by
joep517
2 days, 1 hour ago -
Windows 10 Build 19045.6029 (22H2) to Release Preview Channel
by
joep517
2 days, 1 hour ago -
Best tools for upgrading a Windows 10 to an 11
by
Susan Bradley
1 day, 14 hours ago -
The end of Windows 10 is approaching, consider Linux and LibreOffice
by
Alex5723
18 hours, 13 minutes ago -
Extended Windows Built-in Disk Cleanup Utility
by
bbearren
1 day, 3 hours ago -
Win 11 24H2 June 2025 Update breaks WIFI
by
dportenlanger
2 days, 20 hours ago -
Update from WinPro 10 v. 1511 on T460p?
by
CatoRenasci
1 day, 18 hours ago -
System Restore and Updates Paused
by
veteran
2 days, 23 hours ago -
Windows 10/11 clock app
by
Kathy Stevens
2 days, 10 hours ago -
Turn off right-click draw
by
Charles Billow
3 days, 2 hours ago -
Introducing ChromeOS M137 to The Stable Channel
by
Alex5723
3 days, 6 hours ago -
Brian Wilson (The Beach Boys) R.I.P
by
Alex5723
12 hours, 46 minutes ago -
Master patch listing for June 10, 2025
by
Susan Bradley
3 days, 7 hours ago -
Suggestions for New All in One Printer and a Photo Printer Windows 10
by
Win7and10
5 hours, 49 minutes ago -
Purchasing New Printer. Uninstall old Printer Software First?
by
Win7and10
3 days, 13 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.