Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DE: set cInitialSelectedAlias to first DA class
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00635373
Message ID:
00669260
Views:
13
Hi, Kevin!

PMFJI but I tried to make your code work and wondering about the following:

The problem I see is: Is the "NOT" clause located in the first IF ok or not?
IMO this NOT has to be removed to take "this.aCursors[this.nInitialSelectedAlias]" in the case of "no filled taDataAccessObjects[1]"?

Can you guide me to the right way?

Sebastian Flucke
ELSE
   IF EMPTY(This.InitialSelectedAlias) AND ;
      NOT EMPTY(taDataAccessObjects[1])
      this.InitialSelectedAlias = this.aCursors[this.nInitialSelectedAlias]
   ELSE
      IF NOT EMPTY(taDataAccessObjects[1])
         This.InitialSelectedAlias = SUBSTR(taDataAccessObjects[1],2)
      ENDIF
   ENDIF
   This.cInitialSelectedAlias = this.InitialSelectedAlias
ENDIF
SeBaFlu
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform