-
WSlmo23111
AskWoody LoungerThanks Francois!!
That took care of it. Is that also the reason why I am having the problem with the “Update” action for the same command button?
Case “&Update”
sSQL = “UPDATE tblSample SET SDate=#” & Me.txtSdate & “#, ” & _
“AssocName='” & Me.cboAssocName & “‘, ” & _
“QARep='” & Me.cboQARep & “‘, ” & _
“Manager='” & Me.cboManager & “‘, ” & _
“Site='” & Me.cboSite & “‘, ” & _
“Department='” & Me.cboDepartment & “‘,” & _
“Arn=” & Me.txtARN & “,” & _
“ARNName=” & Me.txtARNName & “,” & _
“Function='” & Me.cboFunction & “‘, ” & _
“ErrorType='” & Me.cboErrorType & “‘, ” & _
“ErrWeight=” & Me.txtErrWgt & “, ” & _
“QANotes=” & Me.txtQANotes & “, ” & _
“WHERE SampleID = ” & Me.lstData & “;”
Debug.Print sSQL
CurrentDb.Execute sSQL
Call cmdClear_Click -
WSlmo23111
AskWoody LoungerLegare,
That solved my problem.
Thanks!
-
WSlmo23111
AskWoody LoungerThat is good stuff!! Thanks to all.
-
WSlmo23111
AskWoody LoungerIf I remove the WORKDATE is there a way that I can pull data for a particular date range?
-
WSlmo23111
AskWoody LoungerHans,
Have another ? for you about this query that I have built. The account numbers are showing mutiple times if the WORKDATE is different. This is causing my count of samples to exceed what it should be. I have set the query up to group as follows:
SELECT tblExpressQASample.WORKDATE, tblExpressQASample.Manager, Associate.AssocName, tblExpressQASample.AccountNumber, Count(tblExpressQASample.AccountNumber) AS Samples
FROM Associate INNER JOIN tblExpressQASample ON Associate.AssocID = tblExpressQASample.AssocID
GROUP BY tblExpressQASample.WORKDATE, tblExpressQASample.Manager, Associate.AssocName, tblExpressQASample.AccountNumber
ORDER BY Associate.AssocName;Which is producing a result like this:
WORKDATE AssocName AccountNumber Samples
6/8/2005 Smith, John 1234 1
6/10/2005 Smith, John 1234 1….and this is counting as 2 samples when it should be 1. Is there a way to remove the GROUP BY for WORKDATE so that I see the account number only once (probably not)? If not, is there a work around for this that you can think of?
Thanks
-
WSlmo23111
AskWoody LoungerHans,
This is great!!! Thanks again.
-
WSlmo23111
AskWoody LoungerOops…sorry that I did not attached the .xls. Question, when I added this formula to the cell, and the cell was formatted as a number, the end result was 0. If the cell was formatted as general, the formula appeared to calculate the entire range, and did not look at my date criteria (CF_DateOut,RDate). Is there a way to have the end result of this array provide me with an N/A?
-
WSlmo23111
AskWoody LoungerThanks Legare!
I knew there had to be a way to get AND in this formula. I modified yours slightly to get the result that I needed.
=IF(AND(ISBLANK(L3),ISBLANK(G3)),(SUM(M3-J3)),””)
Thanks again!
-
WSlmo23111
AskWoody LoungerHans,
There is a good portion of the information that you provided that I can put to use to resolve my problem. Thanks again!!!
-
WSlmo23111
AskWoody LoungerThanks again!!!
-
WSlmo23111
AskWoody LoungerHans,
I have another question on this fabulous formula that you created for me so that I could determine the beginning and ending funding date of each month.
5/30 was observed as a holiday (because it fell on Monday). I have defined a range of cells as “Holidays”, and have entered 5/30 n one of the cells. Am hoping that there is a way to add to the original EOM formula (=WORKDAY(EOMONTH(RDate,(RDate>WORKDAY(EOMONTH(RDate,0)+1,-2))+0)+1,-2,) so remove any Holidays that fall between BOM (Beginning of Month) and EOM(End of Month). I did try it some way and it backed the last funding day in the month to the 29th, and it s.b the 27th (as we do nto count weekends).
Thanks for any help that you can provide!!!
-
WSlmo23111
AskWoody LoungerMucho thanks!!!
-
WSlmo23111
AskWoody LoungerHans,
Is it possible to do the same thing without using VLOOKUPs? I am having problems adding to this formula:
=LOOKUP(IDate,Tran_Date,Jumbo_ND)
-
WSlmo23111
AskWoody LoungerFabulous, oh man that never rests!
I did have to re-define my named ranges from $A:$A to $A$##:$A$#### to get the formula to work. Why is that?
-
WSlmo23111
AskWoody LoungerThe man who never sleeps. Thanks again!!!!
![]() |
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
-
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
7 hours, 40 minutes ago -
Office apps read-only for family members
by
b
10 hours, 16 minutes ago -
Defunct domain for Microsoft account
by
CWBillow
7 hours, 8 minutes ago -
24H2??
by
CWBillow
21 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
19 hours, 2 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
12 hours, 15 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
7 hours, 5 minutes ago -
two pages side by side land scape
by
marc
2 days, 8 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
2 days, 10 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
1 day, 13 hours ago -
Security Essentials or Defender?
by
MalcolmP
1 day, 15 hours ago -
April 2025 updates out
by
Susan Bradley
10 hours, 46 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
1 day, 9 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
23 hours, 14 minutes ago -
Creating an Index in Word 365
by
CWBillow
2 days, 1 hour ago -
Coming at Word 365 and Table of Contents
by
CWBillow
13 hours, 48 minutes ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
3 days, 5 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 days, 8 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
3 days, 10 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 days, 8 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
3 days, 1 hour ago -
I installed Windows 11 24H2
by
Will Fastie
1 day, 8 hours ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
3 days, 13 hours ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
7 hours, 13 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
3 days, 22 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
3 days, 6 hours ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 days, 6 hours ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
4 days, 15 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
4 days, 23 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
23 hours, 14 minutes 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.