|
-
May 27th, 2000, 12:38 AM
#1
Thread Starter
New Member
-
May 27th, 2000, 07:17 PM
#2
Hello,
Have you tried making one field an indexed field and doing
your search on that field?
-
May 27th, 2000, 09:27 PM
#3
Thread Starter
New Member
Yessssss i have an indexed field in that table and i'm doing search on that field but still its slow .......
Any ideas again to make it faster??????? 
thanx
-
May 28th, 2000, 03:28 AM
#4
Guru
Is there any way you can archive stale data? Maybe divide the data up into different tables? (by some sort of category)
Desktop databases (like access, foxpro) begin to slow down after 50-60 thousand records per table....
-
May 28th, 2000, 04:59 AM
#5
Thread Starter
New Member
even if i do SQL its slow that way . Its faster in C++ demo(sql statement) but i dunno how to link C with VB....may be something like - to make dll file......i dunno whether it'll work that way or not....
but still its a live database that changes every 15 mins
and i have to use it live in prog.
any suggestions????????
thanx
Raj
-
May 30th, 2000, 10:10 PM
#6
New Member
Hey RAJ,
If you are on an indexed field, try using Seek as s first try, if that is still too slow try this:
Create a query/stored procedure in Foxpro, and then use that instead. That way the FoxPro engine is the one doing the work, and you do not have to run back and forth to the database.
With any of the Findxxx methods, I think the records are passed one by one through to the app, the app's data engine tests it, and then determines if it is a match. Where as if you use a query on the FoxPro side, FoxPro does all of the work.
Hope this helps
-
May 30th, 2000, 10:58 PM
#7
Lively Member
Is it essential that the table is linked? It may be worth importing the table, indexing it and then trying it.
At worst it will prove that the linking may be the problem.
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
|
Click Here to Expand Forum to Full Width
|