General information
Category:
Coding, syntax & commands
Title:
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.
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