Dave,
Yep - this is in 5.0a - I will probably make switch to 6.0 now that SP3 is out - I think the multitude of problems listed on the the thread and the fixes in SP3 made my wait a wise decision ...
Thanks for the heads up!
Ken
>Ken
>
>You must not be using VFP6. From it's help file:
>
>
If you specify –1 for nLevel, PROGRAM( ) returns as a numeric value the current program level. PROGRAM(–1) always returns zero when issued from the Command window.>
>You'll have to use the code JimB posted for VFP5 or VFP3.
>
>>Program(-1) (or negative anything for that matter) all seem to return the same as program(0) - the top level program. Did I misunderstand something?
Ken B. Matson
GCom2 Solutions