Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shared connection
Message
De
19/12/1996 10:35:23
Biju Varghese
M.H Alshaya Co W.L.L
Kuwait, Kuwait
 
 
À
19/12/1996 09:07:45
Claudio Abad
Compañía Financiera Argentina
Buenos Aires, Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00015602
Message ID:
00015615
Vues:
35
>
> I have a problem, I need only one connection in all
> my application (it is very expensive to have an engine with
> more than 60 PC on line and more than 120 connections open). But, I need
> to use a numbered connection
> because I use stored procedures in MSSQLSERVER 6.5 (1 connection), and I
> use remote views (another
> connection). The views have the shared connections option set to .T..
> In the application I have first SQLCONNECT() and then a USE of sqlview.
> My question is: How can I do to get the sqlview to use the connection
> already open?
> Please help
> me,S.O.S.,S.O.S.,S.O.S.,S.O.S.,S.O.S.,S.O.S.,S.O.S.,S.O.S.,S.O.S.,S.O.S.,S.O
> .S.

Hi Claudio Abad
I suggest open u r view first and then get its connection no.

PUBLIC gnConnection
gnConnection = CURSORGETPROP('CONNECTHANDLE',your view name/alias)

In forms DE is loaded first, then u r remote view had established connection no
then in init of form get connection no and use in program.

Thank Q
Waheed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform