General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hi Jimi Lee
You can use the following code the Automatically Re-Index the Table, U could fine tune as per your requirement.
TDBF=ADIR(DATAF,"*.DBF")
FOR I=1 TO TDBF
Filereindex=DATAF(I,1)
Use DATAF(I,1) EXCLUSIVE
If Used()
Reindex
Endif
ENDFOR
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only