Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default SET's
Message
From
22/07/1999 07:28:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/07/1999 06:56:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00243486
Message ID:
00244602
Views:
19
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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform