473,320 Members | 1,976 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,320 software developers and data experts.

ADO.Net equivalent of Recordset Fields Optimize property

Hi,
Having made very good use of the ADO recordset Field indexes created by
setting the Optimize property, I am thrashing through ADO.Net literature to
identify the same functionality. Being unable to find it I assume I am
missing something basic like indexes are always built on datasets. Is that
so or if not how does one implement one?
I am doing repeated searches of a two field 60,000 record table where
both fields are almost always 7 digit numeric characters in text fields. I
have a kluge working where I read the data in to parallel arrays, the key
field of which I convert to integer. I use the integer array for searching
with the BinarySearch method and use the index to read from the text string
array. It works but there are some non-numeric characters in certain
records and carefully selecting against those has proven
complicated...occasional unmanageable records sneaking through. With each
error I improve the record selection conditions. The nice thing would be
either a BinarySearch for string arrays or alternatively the Optimize
equivalent for searching the dataset.
Any suggestions? Thanks. Tom Paquette
Jul 19 '05 #1
0 1964

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

Similar topics

2
by: ano1optimist | last post by:
I have a form with a search button. I'm using command parameters to pass search criteria to a stored procedure. Here is my code: Stored procedure: CREATE PROCEDURE . @strCriteria varchar(200)...
0
by: Tom Paquette | last post by:
Hi, Having made very good use of the ADO recordset Field indexes created by setting the Optimize property, I am thrashing through ADO.Net literature to identify the same functionality. Being...
6
by: Oko | last post by:
I'm currently developing an MS Access Data Project (.adp) in MS Access 2002. One of the reports within the DB uses data that is Dynamic and cannot be stored on the SQL Server. To resolve this, I...
8
by: janeks | last post by:
I faced with problem in the subject. I need to dinamicaly create the recordset and show the results in a small subform. To construct and test the form I made following test code for form load...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.