Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DE: set cInitialSelectedAlias to first DA class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00635373
Message ID:
00669260
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform