Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Same SQL file multiple procedures
Message
De
16/03/2004 14:09:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00886412
Message ID:
00886814
Vues:
16
Sorry, the procedures that Im talking about are in my program. These procedures are called from a timer(s) on a form. Each timer calls a specific procedure like the one below. In this case, the procedure then calls a function based on which route information is passed. So, procedure l_Pgetrout3 could run a the same time as 2.


PROCEDURE l_Pgetrout2
PARAMETERS pc_cmdrout2,pc_rout2, pc_cartid2
GC_GETROUT = 'g_getrout'+pc_cmdrout2+pc_rout2+[(pc_cmdrout2,pc_rout2,pc_cartid2)]
=&gC_GETrout
return ll_goodrout2

ENDPROC

This seems to work well for one route, but if I have several routes, that maybe running at that same time and accessing same file but different records/rows, will there be issues here? Also, it is highly unlikely that they will access the same row or record.

Other then getting the record pointer, will there be some sort of issues in accessing my remote view SQL tables at the same time and updating them?

Thanks David for responding.
Craig
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform