Página 1 de 1
TDbfDataSet:cAlias bug in 191
Publicado: Sab Mar 22, 2008 9:09 am
por Ingo JH
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
TDbfDataSet:cAlias bug in 191
Publicado: Mar Mar 25, 2008 1:13 pm
por ignacio
Ingo,
Fixed. Thanks for the feedback.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Ingo" <
support@mandantwin.com> escribió en el mensaje
news:47e4bec0$[email=
1@ozsrv2.ozlan.local...]
1@ozsrv2.ozlan.local...[/email]
> 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
TDbfDataSet:cAlias bug in 191
Publicado: Mar Mar 25, 2008 1:13 pm
por NoName
Ingo,
Fixed. Thanks for the feedback.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Ingo" <
support@mandantwin.com> escribió en el mensaje
news:47e4bec0$[email=
1@ozsrv2.ozlan.local...]
1@ozsrv2.ozlan.local...[/email]
> 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