Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CA with parameter makes me crazy
Message
From
09/11/2006 13:29:35
 
 
To
09/11/2006 00:38:14
Max Chen
Yx Software
Shunde, China
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01168332
Message ID:
01168501
Views:
12
This message has been marked as the solution to the initial question of the thread.
>after many testing
>
>i confirm that CA with parameters that using thisform.cSomeProperty
>will not work well.
>
>A workaround of this problem.
>
>1. set dataEnvironment.autoOpenTable=.f.
>2. form.load: call this.dataEnvrironment.opentables
>
>This is the simplest way for the bug.
>
>:(

It is not a bug.

VFP call de's OpenTable before set/add the SCX's properties.

Sequence is:
- Create the window
- if form.datasession = Private
       create the datasesssion
  endif
- if de.autoOpenTable then
     Call de.openTable
     Call de.BeforeOpenTables
  endif
-  set/add SCX's properties
-  call form.Load
Previous
Reply
Map
View

Click here to load this message in the networking platform