Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing 3 million pages to table(will be under 2GB)
Message
De
16/03/2004 14:38:05
 
 
À
16/03/2004 13:38:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00886413
Message ID:
00886825
Vues:
16
Hi again Raj,

I am sorry, but my code is buried deep inside much other code, so my actual code is of no value. But I will give you a head start with some untested semicode:
lnFile=adir(temp,'somefile*.dbf')
create cursor result (fielda c(25),fieldb i, sourcefile n(1))
index on fielda tag fielda && or whatever index you want
for x=1 to lnFile
  select fielda,fieldb,lnFile as sourcefile from ('somefile'+ltrim(str(lnFile))) where YOURCONDITION into cursor tempcursor
  select result
  append from tempcursor
endfor
select result
Good luck!

>Tore,
>
>You are right, I need to partition the tables to something1, something2, something3.
>And the search results(From something1, something2, something3), i will append to the cursor.
>
>And show the results in the grid.
>
>By any chance Tore,do you have the code where you make the search from 3 tables and append results to the cursor.
>
>Thank you.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform