Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close a Browse (programmatically)?
Message
From
22/02/2004 15:44:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How to close a Browse (programmatically)?
Miscellaneous
Thread ID:
00879763
Message ID:
00879763
Views:
62
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
Next
Reply
Map
View

Click here to load this message in the networking platform