TDbfDataSet:cAlias bug in 191
Publicado: Sab Mar 22, 2008 9:09 am
Ignacio, Jose,
when I open the databases named "MP3.DBF", "MP5.DBF" I get the error:
Untersystemaufruf: DBCMD
Systemcode: 1011
Default-Status: .T.
Beschreibung: Alias already in use
Operation: MP
Argumente:
Involvierte Dateien:
DOS-Fehlercode: 0
because ::cAlias of both DataSets "MP3.DBF" and "MP5.DBF" are assigned to
the same name "MP".
I found out a workaround in the METHOD Open( lEvalEvent ) CLASS XDbfDataSet:
* IF Empty( ::cAlias )
::cAlias := ValidAlias( ::oFileName:ShortName() )
* ENDIF
Any problem with this workaround?
Please fix this as soon as possible.
Regards
Ingo
when I open the databases named "MP3.DBF", "MP5.DBF" I get the error:
Untersystemaufruf: DBCMD
Systemcode: 1011
Default-Status: .T.
Beschreibung: Alias already in use
Operation: MP
Argumente:
Involvierte Dateien:
DOS-Fehlercode: 0
because ::cAlias of both DataSets "MP3.DBF" and "MP5.DBF" are assigned to
the same name "MP".
I found out a workaround in the METHOD Open( lEvalEvent ) CLASS XDbfDataSet:
* IF Empty( ::cAlias )
::cAlias := ValidAlias( ::oFileName:ShortName() )
* ENDIF
Any problem with this workaround?
Please fix this as soon as possible.
Regards
Ingo