Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP8 Frontend to Postgres Backend Server
Message
Information générale
Forum:
Linux
Catégorie:
Problèmes base de données et Admin
Divers
Thread ID:
00722327
Message ID:
00722421
Vues:
15
A couple of other things. Postgres, and maybe MySQL, allow presistent connections. This mean the backend will never timeout and disconnect a user, no matter how long a connection goes without any activity. Therefore, you should probably issue a SQLDISCONNECT(oAC.DataSource) somewhere during cleanup and return. The oAC.DataSource hold the connection handle which is numeric.

Also, I checked and I placed one of the [clear events] in a the menu procedure labeled [Exit App]. This make more sence than having it in the destroy event of the [Exit button] of the form.

Glad I could help.
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform