dbinfo.ch header file

dbinfo.ch header file

Postby Otto » Sun Oct 23, 2022 12:41 am

Hello friends,
I only discovered this file today.
Best regards,
Otto

Code: Select all  Expand view

include "fivewin.ch"

REQUEST DBFCDX
REQUEST DBFFPT

function main
    ? "nInfoType determines the type of information, as specified by the constants below. Note, however, that not all constants are supported for all RDDs. These constants are defined in the dbinfo.ch header file, which must be included (#include) in your application."


    use ("customer2.dbf") new
    ?   rddInfo(10)
    ?   rddInfo(14)
 
    GOTO 1
    ? "DBRI_RAWRECORD    " + DBRECORDINFO( 7 )
    ? "DBRI_RAWMEMOS     " + DBRECORDINFO( 8 )
    ? "DBRI_RAWDATA      " + DBRECORDINFO( 9 )
   
return

INIT PROCEDURE PrgInit
   
    SET CENTURY ON
    SET EPOCH TO YEAR(DATE())-98
   
    SET DELETED ON
    SET EXCLUSIVE OFF
   
    REQUEST HB_Lang_DE
   
    HB_LangSelect("DE")
   
    SET DATE TO GERMAN
   
    rddsetdefault( "DBFCDX" )
   
    EXTERN DESCEND
   
RETURN

//----------------------------------------------------------------------------//

 
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 100 guests