Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Cannot find Alias more specific...
Sawadee Kahp,
To be more specific, my problem is this:
---
This code causes a subsequent do form xxx to err: Cannot find Alias xxx
In Combo1.Valid:
LOCAL nCurArea
nCurArea = SELECT()
cfgProj = ALLTRIM(THISFORM.Combo1.Value) *DropDown value
USE projects AGAIN *Open lookup
SET ORDER TO project
SEEK cfgProj *Find Value
IF FOUND()
cfgProjPre = ALLTRIM(prefix) *Set table prefix
? cfgProjPre *Confirm
ENDIF
SELECT(nCurArea)
Then cfgProj and cfgProjPre are used to specify the form to open.
---
This code does not cause any errors:
In button.Click:
cfgProj = "xxx"
cfgProjPre = "xxx"
Then cfgProj and cfgProjPre are used to specify the form to open.
---
I really need to use a combobox here...;)
Eric K.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement