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
Cassiano de Oliveira
Posts: 475
Joined: Tue Jul 24, 2012 10:21 pm

Error Open DBF with CDX index

Postby Cassiano de Oliveira » Fri Oct 03, 2014 7:56 pm

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
User avatar
ignacio
Site Admin
Posts: 8546
Joined: Mon Apr 06, 2015 8:00 pm
Location: Madrid, Spain
Contact:

Error Open DBF with CDX index

Postby ignacio » Sat Oct 04, 2014 1:04 pm

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
Cassiano de Oliveira
Posts: 475
Joined: Tue Jul 24, 2012 10:21 pm

Error Open DBF with CDX index

Postby Cassiano de Oliveira » Sun Oct 05, 2014 6:27 pm

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$1@svctag-j7w3v3j....
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
Posts: 475
Joined: Tue Jul 24, 2012 10:21 pm

Error Open DBF with CDX index

Postby Cassiano de Oliveira » Sun Oct 05, 2014 8:38 pm

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$1@svctag-j7w3v3j....
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

Return to “English”