>There is a free VFP table containing about 0.5 million records. It is indexed and in VFP it takes a fraction of second to get a result from statement like:
>
>SELECT * from table_name where TTOC(indexed_field,1) = “200510” ORDER by 1
>
>
>The problem is that I cannot achieve the similar performance in Vb.NET where I use the code below to fill the data adapter:
>
>
>Me.OleDbSelectCommand2.CommandText = _
>"SELECT * FROM table_name WHERE (TTOC(indexed_field,1) = '200510’) ORDER by 1"
>
>Me.OleDbDataAdapter2.SelectCommand = Me.OleDbSelectCommand2
>Me.OleDbDataAdapter2.Fill(Me.DataSet21)
>
>
>It takes 1 - 2 minute to get the result. Am I missing anything here, or do I need to make specific settings somewhere?
>
>If this approach does not support Rushmore technology, then what could be the alternative way?
>
>
>Thanks in advance for your help.
Yuri,
What is the result sets row count?
Cetin