FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour strange error on index with ftp
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
strange error on index with ftp
Posted: Thu Mar 22, 2018 07:08 PM
I have a strange error making index with dbf and ftp


on main.prg I set


REQUEST DBFCDX
REQUEST DBFFPT
EXTERNAL ORDKEYNO,ORDKEYCOUNT,ORDCREATE,ORDKEYGOTO


FUNCTION Main()

PUBLIC oApp

RddSetDefault( "DBFCDX" )
SetHandleCount( 100 )

SET DATE FORMAT "dd-mm-yyyy"
SET DELETED ON
SET CENTURY ON
SET EPOCH TO year( date() ) - 20
SET MULTIPLE OFF

SetBalloon( .T. )









WITH OBJECT oApp := TApplication():New()
:Activate()
END

RETURN nil






when I make the index it make error because it go to found DBT file and not FPT why ?


Code (fw): Select all Collapse
Application
===========
   Path and name: C:\Work\Prg\Studio\Studio.Exe (32 bits)
   Size: 7,020,544 bytes
   Compiler version: Harbour 3.2.0dev (r1703231115)
   FiveWin  version: FWH 17.12
   C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
   Windows version: 6.1, Build 7600 

   Time from start: 0 hours 0 mins 14 secs 
   Error occurred at: 22-03-2018, 19:49:37
   Error description: (DOS Error 2) DBFCDX/1002  Errore in apertura: .\2013\Data\Agenda.dbt

Stack Calls
===========
   Called from:  => DBUSEAREA( 0 )
   Called from: source\ut\ut_dbf.prg => DB_OPENNOINDEX( 66 )
   Called from: source\ut\ut_index.prg => UT_CREARCDX( 1295 )
   Called from: source\ut\ut_index.prg => (b)UT_INDEXAR( 770 )
   Called from: .\source\classes\DIALOG.PRG => (b)TDIALOG( 95 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:DISPLAY( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 909 )
   Called from:  => DIALOGBOXINDIRECT( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
   Called from: source\ut\ut_index.prg => UT_INDEXAR( 774 )
   Called from: source\Main.prg => (b)TAPPLICATION_BUILDBTNBAR2( 1224 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:CLICK( 717 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:LBUTTONUP( 917 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:HANDLEEVENT( 1575 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 )
   Called from:  => WINRUN( 0 )
   Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1037 )
   Called from: source\Main.prg => TAPPLICATION:ACTIVATE( 451 )
   Called from: source\Main.prg => MAIN( 66 )





on Index I open the file with no index and make the index
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: strange error on index with ftp
Posted: Tue Mar 27, 2018 06:01 AM

Hello Silvio,
did you found a solution?
Best regards,
Otto

Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: strange error on index with ftp
Posted: Tue Mar 27, 2018 06:53 AM

no. I 'm working to resolve it

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: strange error on index with ftp
Posted: Tue Mar 27, 2018 08:01 AM
It shouldn't be needed but try this:

Code (fw): Select all Collapse
RDDINFO( RDDI_MEMOEXT, ".FPT" )


You are going to need this too:

Code (fw): Select all Collapse
#include "Dbinfo.ch"


EMG
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: strange error on index with ftp
Posted: Tue Mar 27, 2018 08:40 AM

enrico,
i use other files with ftp and only one make error

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 162
Joined: Wed Feb 22, 2017 02:19 AM
Re: strange error on index with ftp
Posted: Wed Apr 04, 2018 02:19 AM

Estimado Silvio .
Mira haber si te sirve algpo de esto..

viewtopic.php?f=6t=35464

Creo que si , pronto hare la proxima entrega.

Oscar Chacon.

www.SITUSR.com

&

Regards.
S.I.T.U.
Sistemas Inteligentes de transporte urbano
http://www.situcr.com
oscarchacon@Situcr.com
Desarrollos BA4/B4j androide

Continue the discussion