Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close a Browse (programmatically)?
Message
De
22/02/2004 15:44:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
How to close a Browse (programmatically)?
Divers
Thread ID:
00879763
Message ID:
00879763
Vues:
63
I use the Browse feature a lot to help my users review data and to select records (like a drop down box but much more data viewable). They can position to the desired record and then press Escape to select that record.

This has worked well for years but a new feature that I'm working on has raised a problem. I'm introducing a "hibernate" feature that enables me to close the forms on all of the workstations automatically. All connections to the server are broken and only a status form at the top of the screen is visable. This is working well in general.

But if a Browse is being displayed when the hibernate happens I can't figure out how to close it programmatically. I can close the cursor that it is based on (which makes the Browse dissapear) but this has some awkward side-effects.

I already have a TIMEOUT of 60 seconds specified for each Browse but it seems that this doesn't always execute.

Is there a simple answer?

Peter
Peter Robinson ** Rodes Design ** Virginia
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform