Alias does not exist
Publicado: Jue Jun 02, 2005 11:56 pm
Hi,
the following piece of code results in the error "Alias does not exist"
Code:
WITH OBJECT oDTable := TDbfDataSet():New()
:oDataSource := oConnection
:cProcess := "GENERAL"
:cName := "DTable"
:lReadOnly := .F.
:lShared := .T.
:lNew := .T.
if !:Open()
MsgAlert(i18n("Not able to open system table DTable
(Directory of Tables)"), i18n("Abort"))
break
endif
MsgAlert("Table opened: " + :cName + ", Alias: " + :Alias())
:GoBottom()
End of code
Error message
TDBFDATASET:GOBOTTOM(355)
Fehler BASE/1002 Alias does not exist
Argumente: ()
End of error message
What is wrong or missing? Thanks for any help!
A working example is attached.
Saludos
Christian Lauer
--
the following piece of code results in the error "Alias does not exist"
Code:
WITH OBJECT oDTable := TDbfDataSet():New()
:oDataSource := oConnection
:cProcess := "GENERAL"
:cName := "DTable"
:lReadOnly := .F.
:lShared := .T.
:lNew := .T.
if !:Open()
MsgAlert(i18n("Not able to open system table DTable
(Directory of Tables)"), i18n("Abort"))
break
endif
MsgAlert("Table opened: " + :cName + ", Alias: " + :Alias())
:GoBottom()
End of code
Error message
TDBFDATASET:GOBOTTOM(355)
Fehler BASE/1002 Alias does not exist
Argumente: ()
End of error message
What is wrong or missing? Thanks for any help!
A working example is attached.
Saludos
Christian Lauer
--