Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
text list box
Gary 

16 years ago
Great Idea! by the way, however all was good but I ran into a little snag. The snag is I needed to add a wild card * to my SQL statement. Here is what I ended up with.

SELECT ToolDataT.ID, ToolDataT.AFTO FROM ToolDataT WHERE (((ToolDataT.AFTO) Like [text142] & " * "))

Now here is where it gets weird, this statement works fine if I type in a letter and hit "refresh all" from the menu. Now if I place this in a VB script,

List113.RowSource = "SELECT ToolDataT.ID, ToolDataT.AFTO FROM ToolDataT WHERE (((ToolDataT.AFTO) Like [text142] & " * "))"

It debugs out. If I reverse the two and keep the SQL in the listbox and add a form.refresh command to my keypress statment it only allows me to enter 1 letter and wipes anything I previously typed out. If I remove the " * " from the statement it doesn't  debug out however the listbox doesn't operate properly too.

My work around was just to add a submit button, that works fine but thought I would share this to see if there was something obvious that I was doing wrong. Thanks again for your help!!


Reply from Richard Rost:

I can't see anything wrong with what you've done. Like I said, I'd have to set it up and play with it to figure out a better solution for you. When I get some free time I'll see what I can do.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 8/24/2026 3:14:28 PM. PLT: 0s