Anyone, I'm programming in VB 6. I'm retrieving data from A Visual Foxpro 6 .DBC. I have 3 different select statements happening on dbfs with over a million records. 2 of these select statements finish instantaneously but the third one takes several minutes to complete. From what i've been able to gather, the two select stmts that finish quickly have "Where clauses" that matches an Index on the DBF, however, the third select statement which takes several minutes to complete is simply the following:
Select Max(UniqueId) from ldudetail.dbf
Can anyone tell me what I can do speed this select statement up??
Thanks!
Jack.
Select Max(UniqueId) from ldudetail.dbf
Can anyone tell me what I can do speed this select statement up??
Thanks!
Jack.