Hi Alfred,
The SET DELETED is bound to the DataSession of a form so you cannot just have it once and have it applied throughout the application. An approach would be to make these settings in your baseform's Load() or the DataEnvironment's Init() if you are using DE classes.
>Hi everyone!
>
>I just started using private data sessions and everything is o.k. so far except the following.
>
>I have a database with several deleted records, one of the is the first record on the table, this is why I noticed that VFP shows deleted records even whe with "set deleted on".
>
>It is not until I move the record pointer that VFP "hides" the deleted records, of course this is not a desired behavior because the user says that he still has the records he deleted "we all know they are there but not really"
>
>How do I get VFP to behave the same way it does on default data sessions? (to not show the deleted records right from the start)
>
>Thanx for any help
>
>Alfred