Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close databases ALL
Message
From
26/02/2002 07:24:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00624964
Message ID:
00624983
Views:
13
>Himar,
>Well considering!
>The project remains open because the apllication must know No of version (cf Dough henning in foxtalk)
>
>PRIVATE cVERSIONNUMBER
>*
>IF TYPE("_ VFP.ACTIVEPROJECT") = " O "
>*
>* - - 15/01/2001 there is a probl.ici but later...
>cVERSIONNUMBER = ALLTR(_ VFP.ACTIVEPROJECT.VERSIONNUMBER)
>ELSE
>* - - 26/02/2002
>* - - One should not any more leave the open project because Dbc cannot any more
>* - - to be closed with closed All
>cVERSIONNUMBER = " 3.00.000 "
>ENDIF
>
>I thus close the project before launching the application....
>Thank you

Remember that the problem with the open project is nothing new. You can also close the database in the project. If you close it once, it usually remains closed until you open it again. This means that the problem may sometimes appear, sometimes not. I think it has nothing to do with VFP7.

Perhaps you can use project hooks to close the database, but this would be quite slow, in my experience.

Why do you need to USE XXX.DBC every time you open your project?

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
Next
Reply
Map
View

Click here to load this message in the networking platform