Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can this be faster?
Message
De
28/03/2001 06:49:27
 
 
À
27/03/2001 20:30:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00488878
Message ID:
00489359
Vues:
11
Thanks for your responses, I have taken these into account.

However, I would greatly appreciate it if you could tell me how to speed up a particular part of the program which takes the longest processes:

SELECT purchord
IF SEEK(g_cl_ref)
SCAN WHILE cl_ref = g_cl_ref
SCATTER MEMVAR
INSERT INTO (_table2) FROM MEMVAR
SELE poline

IF SEEK(purchord.po_ref)
SCAN WHILE poline.po_ref = purchord.po_ref
GetNote(poline.pl_ref+"SERVICE")
SELECT poline
SCATTER MEMVAR
INSERT INTO CPoline FROM MEMVAR
ENDSCAN
ENDIF

SELECT SUSPEND
IF SEEK(purchord.po_ref)
SCAN WHILE SUSPEND.po_ref = purchord.po_ref
SCATTER MEMVAR
INSERT INTO CSuspend FROM MEMVAR
ENDSCAN
ENDIF

SELECT supplier
IF SEEK(purchord.rs_ref)
GetProperty(Supplier.Pr_Code)
ENDIF
ENDSCAN
Thanks
Kev
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform