Hi,
Can any one help me on the below....
I am using Visual Foxpro as backed an Vb.Net as the front end...
I am using the oleddb connection..... the following is the parameter....
"Provider=vfpoledb.1;Data Source= \\Data; Collating Sequence=general"
I have a Visual Foxpro open table dabase which contains nearly a million record.... When I give
select * from transcation where id='001' and cust='03'
the time taken to purge this record is very high (nearly 5 min).... I have indexed the table on the basis of the above too (id, cust) feild. The purging of record is done thru front end vb.Net OleDB adapter
Can any one tell me how to use the indexes which is creted in foxpro to return the record..... I used Locate or seek it gives the (record pointer or the index number) this is done in VFP , but I need the record to be returned... that to from the front end VB.Net...
1.Is it possible to use (Seek/Locate) to return table value.... using vb.Net code
2.Is it possible to use Indexes created in backed.... for our faster search.... if so how.... using VB.Net code
are there any other method to purge.... one or more data from a million data in foxpro
3. If it can be from a procedure in foxpro or by a class from a foxpro..... give me some idea on this line also
Note: The worst case is that I am not in the situation to migrate to anothere database becase of various problem....
Parameswaran.N
Visual FoxPro2
|