strange error on index with ftp

Post Reply
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

strange error on index with ftp

Post by Silvio.Falconi »

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: Select all | Expand

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
User avatar
Otto
Posts: 6413
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 28 times
Been thanked: 2 times
Contact:

Re: strange error on index with ftp

Post by Otto »

Hello Silvio,
did you found a solution?
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Re: strange error on index with ftp

Post by Silvio.Falconi »

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
User avatar
Enrico Maria Giordano
Posts: 8767
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: strange error on index with ftp

Post by Enrico Maria Giordano »

It shouldn't be needed but try this:

Code: Select all | Expand

RDDINFO( RDDI_MEMOEXT, ".FPT" )


You are going to need this too:

Code: Select all | Expand

#include "Dbinfo.ch"


EMG
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Re: strange error on index with ftp

Post by Silvio.Falconi »

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
User avatar
Busmatic_wpb
Posts: 162
Joined: Wed Feb 22, 2017 2:19 am

Re: strange error on index with ftp

Post by Busmatic_wpb »

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

viewtopic.php?f=6&t=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
Post Reply