Menu

LetoDB forum

2008-07-21
2012-12-07
  • Nobody/Anonymous

    Recentley I started to use and make some test with LetoDB.

    I don't see mutch activity on this forum, Are ther other site, forum list  where to find more users to share experience and questions about LetoDB.

     
    • Nobody/Anonymous

      I'm trying to compile to letodb for mingw for use harbour minigui (HMG) and i'm getting the following error:

      ld: cannot find -lhbvm
      mingw32-make.exe: *** [bin/letodb.exe] Error 1

      In the makefile.gcc file, i've replaced the line HRB_DIR = $(HB_PATH) with HRB_DIR = \hmg\harbour.  In the make_mingw.bat file, i've inserted the line SET PATH = C:\HMG\HARBOUR

      Please assist me. You may mail me on karweru@yahoo.com. Thanks in advance.

       
  • Nobody/Anonymous

    When you configure the Letodb.ini to work with NTX, it can not load all the indexes, only the first works, the other not.


    FUNCTION Main

       Local cPath := "//196.168.0.1:2812/dados" 
       Local cNome   

       REQUEST LETO

       RDDSETDEFAULT( "LETO" )

       use ( cPath+"clientes" ) alias CLI New SHARED

       SELECT CLI

       DBSETINDEX( cPath+"cli01" )         // cli01.ntx

       DBSETINDEX( cPath+"cli02" )       // cli2.ntx 

       DBSETINDEX( cPath+"cli03" )    // cli03.ntx

       DBSETINDEX( cPath+"cli04" )    // cli04.ntx

       CLI->( DBGOTO(30) )

       cNome := UPPER(cli->razao)

       CLI->( DBSETORDER( 1  ) )
       IF CLI->( DBSEEK( "00010" ) )

           ALERT( " FOUND 00010" )   
       
       ELSE

          ALERT( "NOT FOUND 00010" )
           
       ENDIF

      **// Bug occurs here, the rddleto only load the first index name, but in DBFNTX index is possible 15 indexes for each workarea**

       CLI->( DBSETORDER( 2   ) )    

       IF CLI->( DBSEEK( cNome ) )

            ALERT( " FOUND "+cNome )   
       

       ELSE

        ALERT( "NOT FOUND "+cNome )       // result here
       

       ENDIF

    Return nil


    Tanks,

    Márcio Anselmo Fornari

    ntsinfo@uol.com.br

     

Log in to post a comment.