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.

Error Open DBF with CDX index

Xailer professional forum in English
Responder
Cassiano de Oliveira
Mensajes: 475
Registrado: Mar Jul 24, 2012 10:21 pm

Error Open DBF with CDX index

Mensaje por Cassiano de Oliveira »

Hello,
I'm migrating a module that uses a table DBF Clientes with CDX index where
TAGs are:
TAG Clientes1 Key = CODIGO
TAG Clientes2 Key = NOME
TAG Clientes3 Key = SONUMERO( TELEFONE )
TAG Clientes4 Key = SONUMERO( TELEFONE, .F.)
TAG Clientes5 Key = FANTASIA
TAG Clientes6 Key = DTOS(DTULTCOMP)
The SONUMERO() function was placed within the code, but still opening
presents the error below:
******************************* Error log file
********************************
Exe: D:ProjetosxailerModulo.exe
Version: 1.0.0.0
User name: Cassiano
Computer name: Cassiano
Date: 03/10/2014
Time: 13:42:11
Available Memory: 2929824
Current Area: 0
---------------------------- Compiler
Information -----------------------------
Xailer Version: Xailer 3.3.1
Compiler: Harbour 3.2.0dev (r1310281618)
C/C++ Compiler: MinGW GNU C 4.8.1 (32-bit)
Windows Platform: Windows 7 6.1.7601 Service Pack 1
--------------------- Internal Error Handling
Information ---------------------
Subsystem Call: DBCMD
System Code: 2001
Default Status: .F.
Description: Workarea not in use
Operation: ORDSETFOCUS
Arguments:
Involved File:
Dos Error Code: 0
Trace Through:
ORDSETFOCUS (0)
TDBFDATASET:ORDSETFOCUS (1210)
FRMMAIN:FORMINITIALIZE (77)
FRMMAIN:ONINITIALIZE (0)
FRMMAIN:NEW (200)
INISYSTEM (49)
MAIN (14)
---
Este email está limpo de ví­rus e malwares porque a proteção do avast! Antiví­rus está ativa.
http://www.avast.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9252
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Error Open DBF with CDX index

Mensaje por ignacio »

Hello,
It seems the file is not open. Check you have called the method Open() on the dataset. In case you did, then the dataset has been closed by another code. If the dataset belongs to a form, keep in mind that if the dataset is destroyed all its components are also destroyed.
Regards
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Cassiano de Oliveira
Mensajes: 475
Registrado: Mar Jul 24, 2012 10:21 pm

Error Open DBF with CDX index

Mensaje por Cassiano de Oliveira »

It worked, thank you, sorry for the lack of attention to this issue.
Regards,
Cassiano .
"Ignacio Ortiz de Zúñiga" wrote in message
news:542fd44b$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Hello,
It seems the file is not open. Check you have called the
method Open() on the dataset. In case you did, then the
dataset has been closed by another code. If the dataset
belongs to a form, keep in mind that if the dataset is
destroyed all its components are also destroyed.
Regards
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
---
Este email está limpo de ví­rus e malwares porque a proteção do avast! Antiví­rus está ativa.
http://www.avast.com
Cassiano de Oliveira
Mensajes: 475
Registrado: Mar Jul 24, 2012 10:21 pm

Error Open DBF with CDX index

Mensaje por Cassiano de Oliveira »

It worked, thank you, sorry for the lack of attention to this issue.
Regards,
Cassiano .
"Ignacio Ortiz de Zúñiga" wrote in message
news:542fd44b$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Hello,
It seems the file is not open. Check you have called the
method Open() on the dataset. In case you did, then the
dataset has been closed by another code. If the dataset
belongs to a form, keep in mind that if the dataset is
destroyed all its components are also destroyed.
Regards
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
---
Este email está limpo de ví­rus e malwares porque a proteção do avast! Antiví­rus está ativa.
http://www.avast.com
Responder