Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select statement and open files
Message
From
10/08/2002 17:30:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
10/08/2002 11:39:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00688319
Message ID:
00688362
Views:
15
>Is there any way that when using a "Select * from table1 into ..." statement that you can prevent "table1" from opening? I have been using "use in table1" to close them. I am trying to limit the number of files open at any time.

I want to add the following details to Dragan's comments:

  • It seems obvious that VFP keeps the files open for performance reasons. Closing files and re-opening them is slower than selecting an open file.
  • If you have a private datasession, the form will close all open files anyway, as soon as you close the form.

    Hilmar.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Previous
    Reply
    Map
    View

    Click here to load this message in the networking platform