-
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
-
Blocking Search (on task bar) from going to web
by
HenryW
4 hours, 33 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
9 hours, 40 minutes ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
9 hours, 46 minutes ago -
regarding april update and may update
by
heybengbeng
11 hours, 16 minutes ago -
MS Passkey
by
pmruzicka
7 hours, 20 minutes ago -
Can’t make Opera my default browser
by
bmeacham
18 hours, 56 minutes ago -
*Some settings are managed by your organization
by
rlowe44
5 hours, 39 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
17 hours, 50 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 day, 13 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
1 day, 22 hours ago -
AI slop
by
Susan Bradley
12 hours, 38 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
1 day, 23 hours ago -
Two blank icons
by
CR2
11 hours, 33 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
2 days, 8 hours ago -
End of 10
by
Alex5723
2 days, 11 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
1 day, 9 hours ago -
test post
by
gtd12345
2 days, 17 hours ago -
Privacy and the Real ID
by
Susan Bradley
2 days, 7 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
9 hours, 52 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
2 days, 21 hours ago -
Upgrading from Win 10
by
WSjcgc50
1 day, 9 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
1 day, 13 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
3 days, 13 hours ago -
The story of Windows Longhorn
by
Cybertooth
3 days, 1 hour ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
3 days, 15 hours ago -
Are manuals extinct?
by
Susan Bradley
15 hours, 45 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
4 days ago -
Network Issue
by
Casey H
3 days, 11 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
4 days, 12 hours ago -
May 2025 Office non-Security updates
by
PKCano
4 days, 12 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.