General information
Category:
Forms & Form designer
Dennis,
private data sessions are very good, there is only 1 adjustment you have to make. Whenever a private data session type of dataenvironment is opened in a form, then a whole bunch of settings don't exist for that private data session. You normally create these settings at the beginning of your Main.prg that loads the application. With private data sessions you have to repeat that code each time a new private data session is opened.
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only