>It must see whether the version is modified (Upgrade) for the possible update of the Fields ( xcase ).
>In the runtime (xxxxx.exe), there is no problem to see the Number of version but in the version to develop, it must look at the property
>_ VFP.ACTIVEPROJECT .The project must thus be open.
... and xcase opens the database, I assume.
Then you might close the database manually. Or, after getting the version, close the project before invoking xcase. Now, I am not what is the best way to close the project, but you can use
RELEASE WINDOW Project. In the Spanish version, I have to change this to
RELEASE WINDOW Administrador de proyectos.
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)