>I am having problems with refreshing in a form where i have a Private Data Session.
>
>I have in form Load
>
>SET date british
>SET dele on
>SET talk off
>SET exact on
>set near off
>SET exclusive off
>SET cent on
>SET cent on 1900 rollover 60
>SET safe off
>SET confirm on
>set stat bar off
>
>use TbLedger in 0 shared
>use TbInv1 in 0 shared
>use TbPos in 0 shared
>
>sele * from TbInv1 where cStatus='C' into cursor vwStatus
>
>DataSession is set to 2
>There is nothing in the DataEnvironment
>
>This does not refresh and gives me already deleted data and other expired data.
>
>how do i refresh to give me the latest data?
Rakesh,
Select reads data saved on the disk. Whatever you had at the moment, you would have in your resulting cursor. If you need new data, you would have to execute your select statement again.
If it's not broken, fix it until it is.
My Blog