strange error on index with ftp

strange error on index with ftp

Postby Silvio.Falconi » Thu Mar 22, 2018 7: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: Select all  Expand view
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 November 2023 - January 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
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm

Re: strange error on index with ftp

Postby Otto » Tue Mar 27, 2018 6:01 am

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
Otto
 
Posts: 6064
Joined: Fri Oct 07, 2005 7:07 pm

Re: strange error on index with ftp

Postby Silvio.Falconi » Tue Mar 27, 2018 6: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 November 2023 - January 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
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm

Re: strange error on index with ftp

Postby Enrico Maria Giordano » Tue Mar 27, 2018 8:01 am

It shouldn't be needed but try this:

Code: Select all  Expand view
RDDINFO( RDDI_MEMOEXT, ".FPT" )


You are going to need this too:

Code: Select all  Expand view
#include "Dbinfo.ch"


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8371
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: strange error on index with ftp

Postby Silvio.Falconi » Tue Mar 27, 2018 8: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 November 2023 - January 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
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm

Re: strange error on index with ftp

Postby Busmatic_wpb » Wed Apr 04, 2018 2:19 am

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 40 guests