Microsoft
Software
Hardware
Network
Question : Count in a Query
Yesterday I asked the question on how to count the total number in a field. The answer I got was great ...see below. But not every field has a defect count and are blank. What should the formula look like then?
If each item *always* starts with DefectCount, then a space, then a number, try:
DSum("Val(Mid([DefectCount
], InStrRev([DefectCount], "" "") + 1))", "[tblIspRcdAP25]")
Answer : Count in a Query
Try this instead
DSum("Val(Trim([DefectCoun
t]))", "[tblIspRcdAP25]")
This does not expect a space, will remove it if it doe have one, and will use a 0 if no value is in the field.
Random Solutions
Passing a structure from VBA in Excel to a C DLL
Javascript form validation problems
Boot Acer Ferrari 1200 laptop from dvd to upgrade vista to windows 7
Exchange SCR between versions
Test javamail through command line
Can't print to Dymo Labelwriter 400 turbo after adding labelwriter 450 turbo drivers on windows 2003 terminal server
VB script to uninstall with admin rights.
How deploy a website shortcut to 200 users desktop
The marquee progressbar hangs as the next line of the code executes
PHP - session variables lost between subfolders