Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP with SQL Server -- Pkey
Message
De
16/01/2001 16:16:42
 
 
À
16/01/2001 13:29:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00464309
Message ID:
00464410
Vues:
27
>I'm writing a record to sql server via vfp remotve view. I do a table update and next i want to get the primary key that sql server assigns. I'm getting the error message that it looses teh connection handle. it seems to timeout. What do I need to do?


Hi Jeff!

The VFP connection object's default timeout value is 15 seconds. This could be the culprit. Try setting the connction timout to a longer period, EX: SQLSETPROP(the.Handle, "ConnectTimeOut", nSeconds)
If nSeconds is 0, the connection never times out. Max Seconds is 600

Tom
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform