Take a look at Thread #
538944 >In my FormSet UnLOAD
> CLOSE DATA ALL && ????? Not always releasing datasession,
> SET DATASESSION TO && atleast close files
> DODEFAULT()
>
>It closes all files, but the datasession remains.
>If the formset is again used,
>it uses another DataSession.
>
>It doesn't seem to be consistant.
>
>How does the following work? (from FP Help)
>DataEnvironment Property
>
>Provides a reference to the object's data environment. Read-only at design time and run time.
>
>Syntax Object.DataEnvironment
>
>I tried to use Object.DataEnvironment
> it doesn't work.
>
>Thanks
>Shlomo
--sb--