|
-
ACCESS 2003 SQL LIKE Operator not working in VB6 runtime
Hi All,
I am using VB6 script via ADO objects to read ACCESS 2003 backend database using SQL String LIKE Operator. It doesn't seem to be working. I tested the SQL string under ACCESS 2003 Query mode and it's OK but not in VB6 runtime. What the Sales Manager wanted is instead of keying in the complete 8 digits SalesOrder number he wants to key in only the first 3 digits and the SQL string will extract all transactions that matches the first 3 digits and display it in LISTVIEW CONTROL where he can select the specific line item. Please help me.
Here is the SQL string :
SalesOrder datatype is numeric
"Select SalesOrder from TblSalesTrans where (SalesOrder) like '" & txtSalesOrder & "*'"
Thank you,
Have a good day.
Cheers,
Lennie
Similar Threads
-
By mark1110 in forum VB Classic
Replies: 5
Last Post: 05-07-2007, 04:31 PM
-
By luca90 in forum Database
Replies: 1
Last Post: 01-14-2007, 07:03 AM
-
Replies: 5
Last Post: 07-25-2000, 12:14 PM
-
By Steve Moore in forum ASP.NET
Replies: 1
Last Post: 05-04-2000, 09:37 AM
-
By Mak Foka in forum authorevents.kurata
Replies: 3
Last Post: 04-18-2000, 08:21 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks