Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to replace VFP cursors
Message
De
05/08/2011 09:28:32
 
 
À
05/08/2011 09:10:05
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Application:
Desktop
Divers
Thread ID:
01520206
Message ID:
01520229
Vues:
67
Succumbed ?


>What do you mean by "computes the total of a document that can contain up to a few hundred lines."
>What document? What computation ?
>
>>I'm looking for a way to speed up a calculation routine that computes the total of a document that can contain up to a few hundred lines. The routine is slow now because for each line I access the db. I'm looking for a way to implement this in a more data oriented way.
>>
>>In VFP I would have dumped the relevant keys into a cursor and then join the tables to the cursor in an sql statement.
>>
>>I could of course simulate this by dumping the keys into a temporary table (which if I'm right would not limit the amount of times I access the db), but I was wondering if there is not a more "elegant" way to do this.
>>
>>TIA.
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform