473,387 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

searching by ADO

Hello to everyone...
I have a problem:

In my own MS Access database, I've written a search algorythm that
checks in each table's field wether it contains value we are looking for
( sth. like: FOR I=1 To Len(Field)-Len(Value) / If
Mid(Field,I,Len(Value))=Value Then ... ). I used an ActiveX Data Objects
to access tables but results are very poor. It works terribly slow.
Maybe you know better method?
Is it possible to get faster connection with data than using ADO?

Adam

mailto:ad***@qwe.pl

Nov 12 '05 #1
2 1680
On Sat, 18 Oct 2003 16:56:12 GMT, Ada¶ <ad***@qwe.pl> wrote:

Use a wildcard search:
select * from MyTable
where MyField like '*abc*'

This would find all rows with the substring "abc" in the field. Check
the help file for "Like" or for "Where".

-Tom.
Hello to everyone...
I have a problem:

In my own MS Access database, I've written a search algorythm that
checks in each table's field wether it contains value we are looking for
( sth. like: FOR I=1 To Len(Field)-Len(Value) / If
Mid(Field,I,Len(Value))=Value Then ... ). I used an ActiveX Data Objects
to access tables but results are very poor. It works terribly slow.
Maybe you know better method?
Is it possible to get faster connection with data than using ADO?

Adam

mailto:ad***@qwe.pl


Nov 12 '05 #2
Thank you very much. It is pleasure for me to live in the world with so
intelligent people :). I didn't know that sql provides sth like this.

Adam

Tom van Stiphout wrote:
On Sat, 18 Oct 2003 16:56:12 GMT, Ada¶ <ad***@qwe.pl> wrote:

Use a wildcard search:
select * from MyTable
where MyField like '*abc*'

This would find all rows with the substring "abc" in the field. Check
the help file for "Like" or for "Where".

-Tom.


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John | last post by:
Hi everyone ! This is a first time I post a message here. If I post my message in a wrong group. Please ignore it. I am trying to build a website which allows users (can be thousands of...
18
by: jblazi | last post by:
I should like to search certain characters in a string and when they are found, I want to replace other characters in other strings that are at the same position (for a very simply mastermind game)...
4
by: tgiles | last post by:
Hi, all. Another bewildered newbie struggling with Python goodness. This time it's searching strings. The goal is to search a string for a value. The string is a variable I assigned the name...
2
by: Kakarot | last post by:
I'm gona be very honest here, I suck at programming, *especially* at C++. It's funny because I actually like the idea of programming ... normally what I like I'm atleast decent at. But C++ is a...
8
by: Gordon Knote | last post by:
Hi can anyone tell me what's the best way to search in binary content? Best if someone could post or link me to some source code (in C/C++). The search should be as fast as possible and it would...
33
by: Geoff Jones | last post by:
Hiya I have a DataTable containing thousands of records. Each record has a primary key field called "ID" and another field called "PRODUCT" I want to retrieve the rows that satisy the following...
5
by: justobservant | last post by:
When more than one keyword is typed into a search-query, most of the search-results displayed indicate specified keywords scattered throughout an entire website of content i.e., this is shown as...
7
by: pbd22 | last post by:
Hi. I am somewhat new to this and would like some advice. I want to search my xml file using "keyword" search and return results based on "proximity matching" - in other words, since the search...
5
by: lemlimlee | last post by:
hello, this is the task i need to do: For this task, you are to develop a Java program that allows a user to search or sort an array of numbers using an algorithm that the user chooses. The...
2
by: Bart Kastermans | last post by:
I have a file in which I am searching for the letter "i" (actually a bit more general than that, arbitrary regular expressions could occur) as long as it does not occur inside an expression that...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.