John,
I'm pessimistic :) I use private datasession for forms. My base form is set to use "private data session" + in load event sets those "set ..." that are scoped to current datasession.
set date to dmy && European countries generaly use DMY format - and Turkey
set century on
set century to 19 rollover 60
set exclusive off
set multilocks on
set reprocess to 1 && Again personal
&& and I control rlock() in a loop explicitly where needed
&& Only in 1 or 2 places it's needed ie: assigning a newID
Cetin
>Hi Cetin,
>Thanks for the reply. Do you create a new datasession on every form or only on some forms? Or do you use the defalut datasession?
>
>Thanks
>
>>Yes. It's config.fpw format. However I keep in mind that reprocess, exclusive, multilocks etc are scoped to current data session. I don't thrust the behaviour of VFP for such ones and set them explicitly for any new session (base form load event).
>>Cetin
>>
>>>Hi Cetin,
>>>
>>>Thanks for the reply. Do you set these in your startup progam as defaults for the application?
>>>
>>>Thanks
>>>
>>>>>Are there any SET's that need to be changed from their default values when setting up an environment for an application?
>>>>>
>>>>>Thanks
>>>>If you want to change your environment from defaults. Generally you do. At least I set :
>>>>resource = off
>>>>reprocess = 1 && Personal preference
>>>>path = data;reports
>>>>exclusive = off
>>>>multilocks = on
>>>>Cetin