-
WSrrdavis
AskWoody LoungerI believe that the field has been formatted with both date and time, which would account for no data on the last day of the month. I guess I have to look for “between 9/1/2002 and 10/1/2002” in order to get at the last day of the month.
-
WSrrdavis
AskWoody LoungerI am connecting to SQL Server through ODBC within an MDB.
The data type of the field is char, so the length is only one character. Are you saying that my syntax should have worked? I even added the field to the recordset, with no positive result.
Looking back to my original post, I inadvertantly left out important information: When I run my code, I get a error stating “you have entered an expression that has no value”, with an error code of 2427. when I go to debug, the following code is highlighted:
If CLASS_LEV = “S” Then SLOT_DESC.Visible = False _
Else SLOT_DESC.Visible = True -
WSrrdavis
AskWoody LoungerThanks to Claus and Tom for yourhelp. Modifying the suggestions to fit my application, here is what I came up with:
Private Sub lbxMembers_DblClick(Cancel As Integer)
Dim rst As Recordset
Set rst = CurrentDb.OpenRecordset(“TblActivitiesReg”)
rst.AddNew
rst!ClassID = “SELECT ClassID FROM qryClasses WHERE ClassDate = ‘” & Me!lstClassDate & _
“‘ AND ClassName = ‘” & Me!cboClassName & “‘;”
rst!ID = lbxMembers
rst.Update
rst.Close
Me!lstParticipants.RequeryThe problem is that I am getting a Data Type Conversion error at the SELECT statement above. The fields of both tables (originating and receiving) are Long data types. I attempted to move the SELECT statement to a variable and then place the variable, but that didn’t work either. I tried changing the variable data type to Variant, and got a Data Type Mismatch error (as opposed to the Data Type Conversion error I got earlier).
Any thoughts??
-
WSrrdavis
AskWoody LoungerThanks for you help. Contacting Iomega was my next option, but wanted to find out if anyone else out there had heard of anything.
My ZIP is an internal ATAPI, but I plan to take the disks themselves to another computer to rule out their corruption. The Tools disk itself is a ZIP disk. I have access to the files on that disk, which is even more bizzare!! That’s why I need to rule out the corruption of the other disks.
Well, thanks for you help.
Dear Iomega…
-
WSrrdavis
AskWoody LoungerThanks for your reply. I know the format of the ZIP disk would not have been altered, but wasn’t sure about NTFS reading the ZIP disk. I know this shouldn’t be a problem, but wondered if this could be a Win2K bug of some sort.
The Tools disk is a ZIP disk that came with the ZIP drive–it contains all the initial tools and drivers. It is odd that I can access it, but not other disks. There is even a folder I created on that disk prior to my upgrade. I have access to it, but not the other disks. There were no problems with either of the other disks prior to the upgrade. It is too much of a coincidence for me that both disks failed simultaneously while I upgraded my OS.
I have been to the Iomega and Microsoft websites, but could find nothing useful. I downloaded the latest IomegaWare software, but it made no difference. Do you have any other suggestions?
-
WSrrdavis
AskWoody LoungerThanks for your reply. I already thought of using a LOOKUP table, but I don’t aleady have the values in electronic format. A lookup table will work well, but I was hoping to find a less entry-intensive solution. Probably no such animal exists. Is it possible to include a range of values in a single lookup row?
-
WSrrdavis
AskWoody LoungerThe 500 values appear to almost be random. For example, the following values map the category number 7: 1-9, 12-35, 45, 65, 214-215, 243, 484, 496-500. None of the other categories have any more of a pattern to it.
Currently, I do not have the values in electronic format. I may just have to manually create a LOOKUP table with all 500 values, but I was hoping to find a less entry-intensive solution. Is it possible to include a range of numbers within a single lookup row? If so, how would that work. Thanks.
-
WSrrdavis
AskWoody LoungerOops. As I would make changes to the formula, I forgot to make it an array. Your formula does work as designed. Thanks for everyone’s help. My first post to the Lounge was a rousing success!!
-
WSrrdavis
AskWoody LoungerYour formula works if I specify exactly the rows that contain data. If any of the rows 1:50 are blank (for instance, my data ran out on row 49), the answer defaults to 1.
My data gets added to weekly, and therefore the number of rows grows weekly through the course of our FY. How do I get the range to grow dynamically as the amount of data grows.
It is organize into a simple database list.
-
WSrrdavis
AskWoody LoungerGreat!! This works, but I don’t understand how. I need to study up on Arrays!
Now, I need to go one step further. Is there a way to automagically calculate the rows that need to be counted. In the formula example you’ve given ‘A1:A50’ would change periodically. Is there a way to automate this?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Ubuntu 25.04 (Plucky Puffin) Beta released
by
Alex5723
3 hours, 26 minutes ago -
How to install App Store apps on an external SSD
by
Alex5723
4 hours, 20 minutes ago -
Where is Windows going?
by
Susan Bradley
5 hours, 38 minutes ago -
Does anyone know how can we convert OST to Office 365? (Awaiting moderation)
by
Sanchit Tandon
8 hours, 4 minutes ago -
Installing Feature Update Windows 11 24H2
by
geekdom
21 hours, 49 minutes ago -
Windows 11 Insider Preview build 27823 released to Canary
by
joep517
22 hours, 13 minutes ago -
Windows 11 Hotpatch
by
Hackmuss
5 hours, 30 minutes ago -
System Guard service error still won’t be fixed
by
Susan Bradley
22 hours, 52 minutes ago -
Operation ForumTroll: APT attack with Google Chrome zero-day exploit chain
by
Alex5723
17 hours, 3 minutes ago -
Troy Hunt of HaveIBeenPwned Phished
by
Lars220
14 hours, 3 minutes ago -
Microsoft Windows security auditing Code 5061
by
mpw
1 day, 11 hours ago -
Can’t display images in incoming Outlook 365 emails
by
WScopwriter
19 hours ago -
Windows 11 Insider Preview Build 26200.5510 early builds of 25H2
by
Alex5723
20 hours, 28 minutes ago -
0Patch : Micropatches released for SCF File NTLM Hash Disclosure Vulnerability
by
Alex5723
19 hours, 58 minutes ago -
Select multiple emails and they all open up!
by
CeeJay
2 days, 12 hours ago -
How to remove an update preview
by
Gunny
15 hours, 22 minutes ago -
Third party add ins reminder
by
Susan Bradley
15 minutes ago -
OTF, which backs Tor, Let’s Encrypt and more, sues to save its funding
by
Nibbled To Death By Ducks
2 days, 6 hours ago -
Updating Windows 10 to Windows 11: 23H2 or 24H2?
by
Still Anonymous
2 days, 16 hours ago -
How can I update “Explorer Patcher”
by
WSplanckster
2 days, 18 hours ago -
Check out the home page for Signal
by
CAS
2 days, 16 hours ago -
Windows 11 and Trial version of MS Office
by
Tex265
2 days, 15 hours ago -
Windows 11 Insider Preview build 26120.3585 (24H2) released to BETA
by
joep517
2 days, 23 hours ago -
Windows 11 Insider Preview build 26200.5510 released to DEV
by
joep517
2 days, 23 hours ago -
Windows 11 Insider Preview Build 26100.3624 (24H2) released to Release Preview
by
joep517
2 days, 23 hours ago -
Limits on User Names
by
CWBillow
2 days, 20 hours ago -
MS-DEFCON 4: Mixed bag for March
by
Susan Bradley
20 hours, 3 minutes ago -
Non Apple Keyboards
by
pmcjr6142
21 hours, 19 minutes ago -
How to delete your 23andMe data – The Verge
by
AJNorth
2 days, 18 hours ago -
7 common myths about Windows 11 (Microsoft AD)
by
EyesOnWindows
2 days, 15 hours ago
Recent blog posts
- Where is Windows going?
- System Guard service error still won’t be fixed
- Third party add ins reminder
- MS-DEFCON 4: Mixed bag for March
- Classic and Extended Control Panel — no need to say goodbye
- Things you can do in 2025 that you couldn’t do in 2024
- Revisiting Windows 11’s File Explorer
- Planning ahead for migration
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.