In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

TDbfDataSet:cAlias bug in 191

Xailer professional forum in English
Responder
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

TDbfDataSet:cAlias bug in 191

Mensaje 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
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TDbfDataSet:cAlias bug in 191

Mensaje 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
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

TDbfDataSet:cAlias bug in 191

Mensaje 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
Responder