Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private data sessions
Message
De
05/06/2002 16:50:14
 
 
À
04/06/2002 20:42:50
Wally Noll
Double Aa Builders
Mesa, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00663507
Message ID:
00665145
Vues:
22
While the majority of these settings are the default for a Private Datasession form, the one real recommendation I'd make is that you put all of these settings into a procedure, and call that procedure from your form Load, or DE BeforeOpenTables. That way, if you ever need to change a setting, you only have to do it in your procedure, not lots of different places.


>Consequently, I put the following code snippet into my DE's OpenTables method for each form.
>
>IF THISFORM.DataSession=2
> SET TALK OFF
> SET ESCAPE OFF
> SET BELL OFF
> SET EXCLUSIVE OFF
> SET UNIQUE OFF
> SET DELETED ON
> SET REPROCESS TO 1
> SET UDFPARMS TO VALUE
> SET COMPATIBLE OFF
> SET CONFIRM OFF
> SET CENTURY ON
> SET DEVELOPMENT ON
> SET EXACT ON
> SET SAFETY OFF
> SET CLOCK ON
> SET MULTILOCKS ON
>ENDIF
>
>So, your hunch was right, there is something to watch out for.
>
>Wally
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform