>>I am getting different results when I run the same prg:
>>-from within a form
>>and
>>-at the command prompt
>>
>>Is there any logic to this?
>
>Many thing can be affecting this, but the first one that comes to mind is Private data session forms may have different settings than your command window.
the form datasession is set to 1 default data session
In the form when user makes selection to run the prg, it simply runs a standalone prg.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."