Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using property vs. temp cursor memo
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00649629
Message ID:
00649741
Vues:
9
I think one huge text file is not a good idea. The file for RI (smallest state) is ~6MB. For MA or CT the files would be huge >16MB, so your idea would not work...

May be I need to create a DBF LogFile instead with one record for each changed record in the original file...

>You can use Strtofile(...,..., .T.).
>
>>Hi everybody,
>>
>>Thanks to Hector Correa I created an Address Standardizator class, which I use in interactive and auto (non-interactive) mode.
>>
>>For each record I keep some notes about what changes were done. I also want to keep the history of the whole file, so I need accumulative notes, which I then send to a result file.
>>
>>Originally I just created a form's property to keep accumulative notes.
>>I never ran my tests on 600000+ rec. file, but my manager did and found a serious slow down.
>>
>>So, I got rid of this form property, I now create a temp cursor in the Init of the class curNotes (Notes M)
>>
>>and do replace Notes with NotesStr additive.
>>
>>Do you think, this approach is better? Do you have other ideas?
>>
>>Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform