Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report closing my database
Message
From
08/12/2000 16:17:36
 
 
To
08/12/2000 16:02:47
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00450948
Message ID:
00450985
Views:
36
>how do you do that?

  1. From View menu select Toolbars.
  2. Check Debugger.
  3. In the toolbar, click the button with the eyeglasses to call up the Watch window. It should be the 2nd available one from the left.
  4. In the Watch textbox, enter DBUSED("mydatabase") - where mydatabase is the name of the database that's getting closed. Hit enter. It will show up in the list at the bottom.
  5. Double-click in the grey margin to the left of this new list entry. A red dot should appear there. Now you've set a breakpoint for when the result of DBUSED("mydatabase") has changed.
Run the application. This breakpoint will fire once when the database is open, so just resume. Run the report as usual. It will stop again when the database is closed.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform