&ANALYZE-SUSPEND _VERSION-NUMBER AB_v10r12 GUI ADM2 &ANALYZE-RESUME /* Connected Databases anadat PROGRESS */ &Scoped-define WINDOW-NAME CURRENT-WINDOW {adecomm/appserv.i} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _DEFINITIONS dTables /*------------------------------------------------------------------------ File: Description: from DATA.W - Template For SmartData objects in the ADM Input Parameters: Output Parameters: Modified: February 24, 1999 ------------------------------------------------------------------------*/ /* This .W file was created with the Progress AppBuilder. */ /*----------------------------------------------------------------------*/ /* Create an unnamed pool to store all the widgets created by this procedure. This is a good default which assures that this procedure's triggers and internal procedures will execute in this procedure's storage, and that proper cleanup will occur on deletion of the procedure. */ CREATE WIDGET-POOL. /* *************************** Definitions ************************** */ /* Parameters Definitions --- */ /* Local Variable Definitions --- */ &SCOPED-DEFINE Tabelle Debop &SCOPED-DEFINE TabWhere USE-INDEX Debop-k1 ~ WHERE {&Tabelle}.Firma = tRowObject.Firma ~ AND {&Tabelle}.Knr = tRowObject.Knr ~ AND {&Tabelle}.Faknr = tRowObject.Faknr { incl/datdefinition.i } /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME &ANALYZE-SUSPEND _UIB-PREPROCESSOR-BLOCK /* ******************** Preprocessor Definitions ******************** */ &Global-define DATA-LOGIC-PROCEDURE .p &Scoped-define PROCEDURE-TYPE SmartDataObject &Scoped-define DB-AWARE yes &Scoped-define ADM-SUPPORTED-LINKS Data-Source,Data-Target,Navigation-Target,Update-Target,Commit-Target,Filter-Target /* Db-Required definitions. */ &IF DEFINED(DB-REQUIRED) = 0 &THEN &GLOBAL-DEFINE DB-REQUIRED TRUE &ENDIF &GLOBAL-DEFINE DB-REQUIRED-START &IF {&DB-REQUIRED} &THEN &GLOBAL-DEFINE DB-REQUIRED-END &ENDIF &Scoped-define QUERY-NAME Query-Main /* Internal Tables (found by Frame, Query & Browse Queries) */ &Scoped-define INTERNAL-TABLES Debop /* Definitions for QUERY Query-Main */ &Scoped-Define ENABLED-FIELDS Faellig Fakbetr Fakbetr_FRW Fakdat Fakincl1 Fakincl2 Fakincl3 Fakincl4~ Fakincl5 Fakincl6 Fakincl7 Fakincl8 Fakincl9 Fakincl10 Fakincl11 Fakincl12~ Faknr Faktor Fakwpfl1 Fakwpfl2 Fakwpfl3 Fakwpfl4 Fakwpfl5 Fakwpfl6 Fakwpfl7~ Fakwpfl8 Fakwpfl9 Fakwpfl10 Fakwpfl11 Fakwpfl12 Fakwpro1 Fakwpro2 Fakwpro3~ Fakwpro4 Fakwpro5 Fakwpro6 Fakwpro7 Fakwpro8 Fakwpro9 Fakwpro10 Fakwpro11~ Fakwpro12 Fakwust1 Fakwust2 Fakwust3 Fakwust4 Fakwust5 Fakwust6 Fakwust7~ Fakwust8 Fakwust9 Fakwust10 Fakwust11 Fakwust12 Firma FRW Fr_Faknr Knr Kond~ Konto Kte Kurs MahAnz MahDat MahStu Porto Saldo Saldo_FRW Skber Skber_FRW~ Skonto Skonto_FRW Transp TrNr1 TrNr2 Verpack Vertr WustAbr WW WW_FRW~ Zahbetr Zahbetr_FRW Zahdat ZahSkon1 ZahSkon2 ZahSkon3 ZahSkon4 ZahSkon5~ ZahSkon6 ZahSkon7 ZahSkon8 ZahSkon9 ZahSkon10 ZahSkon11 ZahSkon12 Zahwpfl1~ Zahwpfl2 Zahwpfl3 Zahwpfl4 Zahwpfl5 Zahwpfl6 Zahwpfl7 Zahwpfl8 Zahwpfl9~ Zahwpfl10 Zahwpfl11 Zahwpfl12 Zahwust1 Zahwust2 Zahwust3 Zahwust4 Zahwust5~ Zahwust6 Zahwust7 Zahwust8 Zahwust9 Zahwust10 Zahwust11 Zahwust12 &Scoped-define ENABLED-FIELDS-IN-Debop Faellig Fakbetr Fakbetr_FRW Fakdat ~ Fakincl1 Fakincl2 Fakincl3 Fakincl4 Fakincl5 Fakincl6 Fakincl7 Fakincl8 ~ Fakincl9 Fakincl10 Fakincl11 Fakincl12 Faknr Faktor Fakwpfl1 Fakwpfl2 ~ Fakwpfl3 Fakwpfl4 Fakwpfl5 Fakwpfl6 Fakwpfl7 Fakwpfl8 Fakwpfl9 Fakwpfl10 ~ Fakwpfl11 Fakwpfl12 Fakwpro1 Fakwpro2 Fakwpro3 Fakwpro4 Fakwpro5 Fakwpro6 ~ Fakwpro7 Fakwpro8 Fakwpro9 Fakwpro10 Fakwpro11 Fakwpro12 Fakwust1 Fakwust2 ~ Fakwust3 Fakwust4 Fakwust5 Fakwust6 Fakwust7 Fakwust8 Fakwust9 Fakwust10 ~ Fakwust11 Fakwust12 Firma FRW Fr_Faknr Knr Kond Konto Kte Kurs MahAnz ~ MahDat MahStu Porto Saldo Saldo_FRW Skber Skber_FRW Skonto Skonto_FRW ~ Transp TrNr1 TrNr2 Verpack Vertr WustAbr WW WW_FRW Zahbetr Zahbetr_FRW ~ Zahdat ZahSkon1 ZahSkon2 ZahSkon3 ZahSkon4 ZahSkon5 ZahSkon6 ZahSkon7 ~ ZahSkon8 ZahSkon9 ZahSkon10 ZahSkon11 ZahSkon12 Zahwpfl1 Zahwpfl2 Zahwpfl3 ~ Zahwpfl4 Zahwpfl5 Zahwpfl6 Zahwpfl7 Zahwpfl8 Zahwpfl9 Zahwpfl10 Zahwpfl11 ~ Zahwpfl12 Zahwust1 Zahwust2 Zahwust3 Zahwust4 Zahwust5 Zahwust6 Zahwust7 ~ Zahwust8 Zahwust9 Zahwust10 Zahwust11 Zahwust12 &Scoped-Define DATA-FIELDS Faellig Fakbetr Fakbetr_FRW Fakdat Fakincl1 Fakincl2 Fakincl3 Fakincl4~ Fakincl5 Fakincl6 Fakincl7 Fakincl8 Fakincl9 Fakincl10 Fakincl11 Fakincl12~ Faknr Faktor Fakwpfl1 Fakwpfl2 Fakwpfl3 Fakwpfl4 Fakwpfl5 Fakwpfl6 Fakwpfl7~ Fakwpfl8 Fakwpfl9 Fakwpfl10 Fakwpfl11 Fakwpfl12 Fakwpro1 Fakwpro2 Fakwpro3~ Fakwpro4 Fakwpro5 Fakwpro6 Fakwpro7 Fakwpro8 Fakwpro9 Fakwpro10 Fakwpro11~ Fakwpro12 Fakwust1 Fakwust2 Fakwust3 Fakwust4 Fakwust5 Fakwust6 Fakwust7~ Fakwust8 Fakwust9 Fakwust10 Fakwust11 Fakwust12 Firma FRW Fr_Faknr Knr Kond~ Konto Kte Kurs MahAnz MahDat MahStu Porto Saldo Saldo_FRW Skber Skber_FRW~ Skonto Skonto_FRW Transp TrNr1 TrNr2 Verpack Vertr WustAbr WW WW_FRW~ Zahbetr Zahbetr_FRW Zahdat ZahSkon1 ZahSkon2 ZahSkon3 ZahSkon4 ZahSkon5~ ZahSkon6 ZahSkon7 ZahSkon8 ZahSkon9 ZahSkon10 ZahSkon11 ZahSkon12 Zahwpfl1~ Zahwpfl2 Zahwpfl3 Zahwpfl4 Zahwpfl5 Zahwpfl6 Zahwpfl7 Zahwpfl8 Zahwpfl9~ Zahwpfl10 Zahwpfl11 Zahwpfl12 Zahwust1 Zahwust2 Zahwust3 Zahwust4 Zahwust5~ Zahwust6 Zahwust7 Zahwust8 Zahwust9 Zahwust10 Zahwust11 Zahwust12 &Scoped-define DATA-FIELDS-IN-Debop Faellig Fakbetr Fakbetr_FRW Fakdat ~ Fakincl1 Fakincl2 Fakincl3 Fakincl4 Fakincl5 Fakincl6 Fakincl7 Fakincl8 ~ Fakincl9 Fakincl10 Fakincl11 Fakincl12 Faknr Faktor Fakwpfl1 Fakwpfl2 ~ Fakwpfl3 Fakwpfl4 Fakwpfl5 Fakwpfl6 Fakwpfl7 Fakwpfl8 Fakwpfl9 Fakwpfl10 ~ Fakwpfl11 Fakwpfl12 Fakwpro1 Fakwpro2 Fakwpro3 Fakwpro4 Fakwpro5 Fakwpro6 ~ Fakwpro7 Fakwpro8 Fakwpro9 Fakwpro10 Fakwpro11 Fakwpro12 Fakwust1 Fakwust2 ~ Fakwust3 Fakwust4 Fakwust5 Fakwust6 Fakwust7 Fakwust8 Fakwust9 Fakwust10 ~ Fakwust11 Fakwust12 Firma FRW Fr_Faknr Knr Kond Konto Kte Kurs MahAnz ~ MahDat MahStu Porto Saldo Saldo_FRW Skber Skber_FRW Skonto Skonto_FRW ~ Transp TrNr1 TrNr2 Verpack Vertr WustAbr WW WW_FRW Zahbetr Zahbetr_FRW ~ Zahdat ZahSkon1 ZahSkon2 ZahSkon3 ZahSkon4 ZahSkon5 ZahSkon6 ZahSkon7 ~ ZahSkon8 ZahSkon9 ZahSkon10 ZahSkon11 ZahSkon12 Zahwpfl1 Zahwpfl2 Zahwpfl3 ~ Zahwpfl4 Zahwpfl5 Zahwpfl6 Zahwpfl7 Zahwpfl8 Zahwpfl9 Zahwpfl10 Zahwpfl11 ~ Zahwpfl12 Zahwust1 Zahwust2 Zahwust3 Zahwust4 Zahwust5 Zahwust6 Zahwust7 ~ Zahwust8 Zahwust9 Zahwust10 Zahwust11 Zahwust12 &Scoped-Define MANDATORY-FIELDS Firma &Scoped-Define APPLICATION-SERVICE &Scoped-Define ASSIGN-LIST rowObject.Fakincl1 = Debop.Fakincl[1]~ rowObject.Fakincl2 = Debop.Fakincl[2]~ rowObject.Fakincl3 = Debop.Fakincl[3]~ rowObject.Fakincl4 = Debop.Fakincl[4]~ rowObject.Fakincl5 = Debop.Fakincl[5]~ rowObject.Fakincl6 = Debop.Fakincl[6]~ rowObject.Fakincl7 = Debop.Fakincl[7]~ rowObject.Fakincl8 = Debop.Fakincl[8]~ rowObject.Fakincl9 = Debop.Fakincl[9]~ rowObject.Fakincl10 = Debop.Fakincl[10]~ rowObject.Fakincl11 = Debop.Fakincl[11]~ rowObject.Fakincl12 = Debop.Fakincl[12]~ rowObject.Fakwpfl1 = Debop.Fakwpfl[1]~ rowObject.Fakwpfl2 = Debop.Fakwpfl[2]~ rowObject.Fakwpfl3 = Debop.Fakwpfl[3]~ rowObject.Fakwpfl4 = Debop.Fakwpfl[4]~ rowObject.Fakwpfl5 = Debop.Fakwpfl[5]~ rowObject.Fakwpfl6 = Debop.Fakwpfl[6]~ rowObject.Fakwpfl7 = Debop.Fakwpfl[7]~ rowObject.Fakwpfl8 = Debop.Fakwpfl[8]~ rowObject.Fakwpfl9 = Debop.Fakwpfl[9]~ rowObject.Fakwpfl10 = Debop.Fakwpfl[10]~ rowObject.Fakwpfl11 = Debop.Fakwpfl[11]~ rowObject.Fakwpfl12 = Debop.Fakwpfl[12]~ rowObject.Fakwpro1 = Debop.Fakwpro[1]~ rowObject.Fakwpro2 = Debop.Fakwpro[2]~ rowObject.Fakwpro3 = Debop.Fakwpro[3]~ rowObject.Fakwpro4 = Debop.Fakwpro[4]~ rowObject.Fakwpro5 = Debop.Fakwpro[5]~ rowObject.Fakwpro6 = Debop.Fakwpro[6]~ rowObject.Fakwpro7 = Debop.Fakwpro[7]~ rowObject.Fakwpro8 = Debop.Fakwpro[8]~ rowObject.Fakwpro9 = Debop.Fakwpro[9]~ rowObject.Fakwpro10 = Debop.Fakwpro[10]~ rowObject.Fakwpro11 = Debop.Fakwpro[11]~ rowObject.Fakwpro12 = Debop.Fakwpro[12]~ rowObject.Fakwust1 = Debop.Fakwust[1]~ rowObject.Fakwust2 = Debop.Fakwust[2]~ rowObject.Fakwust3 = Debop.Fakwust[3]~ rowObject.Fakwust4 = Debop.Fakwust[4]~ rowObject.Fakwust5 = Debop.Fakwust[5]~ rowObject.Fakwust6 = Debop.Fakwust[6]~ rowObject.Fakwust7 = Debop.Fakwust[7]~ rowObject.Fakwust8 = Debop.Fakwust[8]~ rowObject.Fakwust9 = Debop.Fakwust[9]~ rowObject.Fakwust10 = Debop.Fakwust[10]~ rowObject.Fakwust11 = Debop.Fakwust[11]~ rowObject.Fakwust12 = Debop.Fakwust[12]~ rowObject.ZahSkon1 = Debop.ZahSkon[1]~ rowObject.ZahSkon2 = Debop.ZahSkon[2]~ rowObject.ZahSkon3 = Debop.ZahSkon[3]~ rowObject.ZahSkon4 = Debop.ZahSkon[4]~ rowObject.ZahSkon5 = Debop.ZahSkon[5]~ rowObject.ZahSkon6 = Debop.ZahSkon[6]~ rowObject.ZahSkon7 = Debop.ZahSkon[7]~ rowObject.ZahSkon8 = Debop.ZahSkon[8]~ rowObject.ZahSkon9 = Debop.ZahSkon[9]~ rowObject.ZahSkon10 = Debop.ZahSkon[10]~ rowObject.ZahSkon11 = Debop.ZahSkon[11]~ rowObject.ZahSkon12 = Debop.ZahSkon[12]~ rowObject.Zahwpfl1 = Debop.Zahwpfl[1]~ rowObject.Zahwpfl2 = Debop.Zahwpfl[2]~ rowObject.Zahwpfl3 = Debop.Zahwpfl[3]~ rowObject.Zahwpfl4 = Debop.Zahwpfl[4]~ rowObject.Zahwpfl5 = Debop.Zahwpfl[5]~ rowObject.Zahwpfl6 = Debop.Zahwpfl[6]~ rowObject.Zahwpfl7 = Debop.Zahwpfl[7]~ rowObject.Zahwpfl8 = Debop.Zahwpfl[8]~ rowObject.Zahwpfl9 = Debop.Zahwpfl[9]~ rowObject.Zahwpfl10 = Debop.Zahwpfl[10]~ rowObject.Zahwpfl11 = Debop.Zahwpfl[11]~ rowObject.Zahwpfl12 = Debop.Zahwpfl[12]~ rowObject.Zahwust1 = Debop.Zahwust[1]~ rowObject.Zahwust2 = Debop.Zahwust[2]~ rowObject.Zahwust3 = Debop.Zahwust[3]~ rowObject.Zahwust4 = Debop.Zahwust[4]~ rowObject.Zahwust5 = Debop.Zahwust[5]~ rowObject.Zahwust6 = Debop.Zahwust[6]~ rowObject.Zahwust7 = Debop.Zahwust[7]~ rowObject.Zahwust8 = Debop.Zahwust[8]~ rowObject.Zahwust9 = Debop.Zahwust[9]~ rowObject.Zahwust10 = Debop.Zahwust[10]~ rowObject.Zahwust11 = Debop.Zahwust[11]~ rowObject.Zahwust12 = Debop.Zahwust[12] &Scoped-Define DATA-FIELD-DEFS "d-debop.i" &Scoped-Define DATA-TABLE-NO-UNDO NO-UNDO &Scoped-define QUERY-STRING-Query-Main FOR EACH Debop NO-LOCK INDEXED-REPOSITION {&DB-REQUIRED-START} &Scoped-define OPEN-QUERY-Query-Main OPEN QUERY Query-Main FOR EACH Debop NO-LOCK INDEXED-REPOSITION. {&DB-REQUIRED-END} &Scoped-define TABLES-IN-QUERY-Query-Main Debop &Scoped-define FIRST-TABLE-IN-QUERY-Query-Main Debop /* Custom List Definitions */ /* List-1,List-2,List-3,List-4,List-5,List-6 */ /* _UIB-PREPROCESSOR-BLOCK-END */ &ANALYZE-RESUME /* ************************ Function Prototypes ********************** */ {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD getCurrentRecid dTables _DB-REQUIRED FUNCTION getCurrentRecid RETURNS RECID ( /* parameter-definitions */ ) FORWARD. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD getQueryBuffer dTables _DB-REQUIRED FUNCTION getQueryBuffer RETURNS HANDLE ( /* parameter-definitions */ ) FORWARD. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD openQuery dTables _DB-REQUIRED FUNCTION openQuery RETURNS LOGICAL ( /* parameter-definitions */ ) FORWARD. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} /* *********************** Control Definitions ********************** */ {&DB-REQUIRED-START} /* Query definitions */ &ANALYZE-SUSPEND DEFINE QUERY Query-Main FOR Debop SCROLLING. &ANALYZE-RESUME {&DB-REQUIRED-END} /* ************************ Frame Definitions *********************** */ /* *********************** Procedure Settings ************************ */ &ANALYZE-SUSPEND _PROCEDURE-SETTINGS /* Settings for THIS-PROCEDURE Type: SmartDataObject Allow: Query Frames: 0 Add Fields to: Neither Other Settings: PERSISTENT-ONLY COMPILE APPSERVER DB-AWARE */ /* This procedure should always be RUN PERSISTENT. Report the error, */ /* then cleanup and return. */ IF NOT THIS-PROCEDURE:PERSISTENT THEN DO: MESSAGE "{&FILE-NAME} should only be RUN PERSISTENT.":U VIEW-AS ALERT-BOX ERROR BUTTONS OK. RETURN. END. &ANALYZE-RESUME _END-PROCEDURE-SETTINGS /* ************************* Create Window ************************** */ &ANALYZE-SUSPEND _CREATE-WINDOW /* DESIGN Window definition (used by the UIB) CREATE WINDOW dTables ASSIGN HEIGHT = 1.62 WIDTH = 46.6. /* END WINDOW DEFINITION */ */ &ANALYZE-RESUME &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _INCLUDED-LIB dTables /* ************************* Included-Libraries *********************** */ {src/adm2/data.i} /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME /* *********** Runtime Attributes and AppBuilder Settings *********** */ &ANALYZE-SUSPEND _RUN-TIME-ATTRIBUTES /* SETTINGS FOR WINDOW dTables VISIBLE,,RUN-PERSISTENT */ /* _RUN-TIME-ATTRIBUTES-END */ &ANALYZE-RESUME /* Setting information for Queries and Browse Widgets fields */ &ANALYZE-SUSPEND _QUERY-BLOCK QUERY Query-Main /* Query rebuild information for SmartDataObject Query-Main _TblList = "AnaDat.Debop" _Options = "NO-LOCK INDEXED-REPOSITION" _FldNameList[1] > AnaDat.Debop.Faellig "Faellig" "Faellig" ? ? "date" ? ? ? ? ? ? yes ? no 10.8 yes ? _FldNameList[2] > AnaDat.Debop.Fakbetr "Fakbetr" "Fakbetr" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[3] > AnaDat.Debop.Fakbetr_FRW "Fakbetr_FRW" "Fakbetr_FRW" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[4] > AnaDat.Debop.Fakdat "Fakdat" "Fakdat" ? ? "date" ? ? ? ? ? ? yes ? no 10.8 yes ? _FldNameList[5] > AnaDat.Debop.Fakincl[1] "Fakincl[1]" "Fakincl1" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[6] > AnaDat.Debop.Fakincl[2] "Fakincl[2]" "Fakincl2" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[7] > AnaDat.Debop.Fakincl[3] "Fakincl[3]" "Fakincl3" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[8] > AnaDat.Debop.Fakincl[4] "Fakincl[4]" "Fakincl4" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[9] > AnaDat.Debop.Fakincl[5] "Fakincl[5]" "Fakincl5" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[10] > AnaDat.Debop.Fakincl[6] "Fakincl[6]" "Fakincl6" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[11] > AnaDat.Debop.Fakincl[7] "Fakincl[7]" "Fakincl7" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[12] > AnaDat.Debop.Fakincl[8] "Fakincl[8]" "Fakincl8" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[13] > AnaDat.Debop.Fakincl[9] "Fakincl[9]" "Fakincl9" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[14] > AnaDat.Debop.Fakincl[10] "Fakincl[10]" "Fakincl10" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[15] > AnaDat.Debop.Fakincl[11] "Fakincl[11]" "Fakincl11" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[16] > AnaDat.Debop.Fakincl[12] "Fakincl[12]" "Fakincl12" ? ? "logical" ? ? ? ? ? ? yes ? no 6.8 yes ? _FldNameList[17] > AnaDat.Debop.Faknr "Faknr" "Faknr" ? ? "integer" ? ? ? ? ? ? yes ? no 8.4 yes ? _FldNameList[18] > AnaDat.Debop.Faktor "Faktor" "Faktor" ? ? "integer" ? ? ? ? ? ? yes ? no 6 yes ? _FldNameList[19] > AnaDat.Debop.Fakwpfl[1] "Fakwpfl[1]" "Fakwpfl1" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[20] > AnaDat.Debop.Fakwpfl[2] "Fakwpfl[2]" "Fakwpfl2" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[21] > AnaDat.Debop.Fakwpfl[3] "Fakwpfl[3]" "Fakwpfl3" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[22] > AnaDat.Debop.Fakwpfl[4] "Fakwpfl[4]" "Fakwpfl4" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[23] > AnaDat.Debop.Fakwpfl[5] "Fakwpfl[5]" "Fakwpfl5" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[24] > AnaDat.Debop.Fakwpfl[6] "Fakwpfl[6]" "Fakwpfl6" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[25] > AnaDat.Debop.Fakwpfl[7] "Fakwpfl[7]" "Fakwpfl7" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[26] > AnaDat.Debop.Fakwpfl[8] "Fakwpfl[8]" "Fakwpfl8" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[27] > AnaDat.Debop.Fakwpfl[9] "Fakwpfl[9]" "Fakwpfl9" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[28] > AnaDat.Debop.Fakwpfl[10] "Fakwpfl[10]" "Fakwpfl10" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[29] > AnaDat.Debop.Fakwpfl[11] "Fakwpfl[11]" "Fakwpfl11" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[30] > AnaDat.Debop.Fakwpfl[12] "Fakwpfl[12]" "Fakwpfl12" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[31] > AnaDat.Debop.Fakwpro[1] "Fakwpro[1]" "Fakwpro1" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[32] > AnaDat.Debop.Fakwpro[2] "Fakwpro[2]" "Fakwpro2" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[33] > AnaDat.Debop.Fakwpro[3] "Fakwpro[3]" "Fakwpro3" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[34] > AnaDat.Debop.Fakwpro[4] "Fakwpro[4]" "Fakwpro4" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[35] > AnaDat.Debop.Fakwpro[5] "Fakwpro[5]" "Fakwpro5" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[36] > AnaDat.Debop.Fakwpro[6] "Fakwpro[6]" "Fakwpro6" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[37] > AnaDat.Debop.Fakwpro[7] "Fakwpro[7]" "Fakwpro7" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[38] > AnaDat.Debop.Fakwpro[8] "Fakwpro[8]" "Fakwpro8" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[39] > AnaDat.Debop.Fakwpro[9] "Fakwpro[9]" "Fakwpro9" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[40] > AnaDat.Debop.Fakwpro[10] "Fakwpro[10]" "Fakwpro10" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[41] > AnaDat.Debop.Fakwpro[11] "Fakwpro[11]" "Fakwpro11" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[42] > AnaDat.Debop.Fakwpro[12] "Fakwpro[12]" "Fakwpro12" ? ? "decimal" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[43] > AnaDat.Debop.Fakwust[1] "Fakwust[1]" "Fakwust1" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[44] > AnaDat.Debop.Fakwust[2] "Fakwust[2]" "Fakwust2" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[45] > AnaDat.Debop.Fakwust[3] "Fakwust[3]" "Fakwust3" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[46] > AnaDat.Debop.Fakwust[4] "Fakwust[4]" "Fakwust4" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[47] > AnaDat.Debop.Fakwust[5] "Fakwust[5]" "Fakwust5" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[48] > AnaDat.Debop.Fakwust[6] "Fakwust[6]" "Fakwust6" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[49] > AnaDat.Debop.Fakwust[7] "Fakwust[7]" "Fakwust7" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[50] > AnaDat.Debop.Fakwust[8] "Fakwust[8]" "Fakwust8" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[51] > AnaDat.Debop.Fakwust[9] "Fakwust[9]" "Fakwust9" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[52] > AnaDat.Debop.Fakwust[10] "Fakwust[10]" "Fakwust10" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[53] > AnaDat.Debop.Fakwust[11] "Fakwust[11]" "Fakwust11" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[54] > AnaDat.Debop.Fakwust[12] "Fakwust[12]" "Fakwust12" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[55] > AnaDat.Debop.Firma "Firma" "Firma" ? ? "character" ? ? ? ? ? ? yes ? yes 8 yes ? _FldNameList[56] > AnaDat.Debop.FRW "FRW" "FRW" ? ? "character" ? ? ? ? ? ? yes ? no 5 yes ? _FldNameList[57] > AnaDat.Debop.Fr_Faknr "Fr_Faknr" "Fr_Faknr" ? ? "character" ? ? ? ? ? ? yes ? no 20 yes ? _FldNameList[58] > AnaDat.Debop.Knr "Knr" "Knr" ? ? "integer" ? ? ? ? ? ? yes ? no 7.2 yes ? _FldNameList[59] > AnaDat.Debop.Kond "Kond" "Kond" ? ? "integer" ? ? ? ? ? ? yes ? no 5 yes ? _FldNameList[60] > AnaDat.Debop.Konto "Konto" "Konto" ? ? "character" ? ? ? ? ? ? yes ? no 12 yes ? _FldNameList[61] > AnaDat.Debop.Kte "Kte" "Kte" ? ? "character" ? ? ? ? ? ? yes ? no 4 yes ? _FldNameList[62] > AnaDat.Debop.Kurs "Kurs" "Kurs" ? ? "decimal" ? ? ? ? ? ? yes ? no 9.6 yes ? _FldNameList[63] > AnaDat.Debop.MahAnz "MahAnz" "MahAnz" ? ? "integer" ? ? ? ? ? ? yes ? no 7.8 yes ? _FldNameList[64] > AnaDat.Debop.MahDat "MahDat" "MahDat" ? ? "date" ? ? ? ? ? ? yes ? no 10.8 yes ? _FldNameList[65] > AnaDat.Debop.MahStu "MahStu" "MahStu" ? ? "integer" ? ? ? ? ? ? yes ? no 7.4 yes ? _FldNameList[66] > AnaDat.Debop.Porto "Porto" "Porto" ? ? "decimal" ? ? ? ? ? ? yes ? no 7.8 yes ? _FldNameList[67] > AnaDat.Debop.Saldo "Saldo" "Saldo" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[68] > AnaDat.Debop.Saldo_FRW "Saldo_FRW" "Saldo_FRW" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[69] > AnaDat.Debop.Skber "Skber" "Skber" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[70] > AnaDat.Debop.Skber_FRW "Skber_FRW" "Skber_FRW" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[71] > AnaDat.Debop.Skonto "Skonto" "Skonto" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[72] > AnaDat.Debop.Skonto_FRW "Skonto_FRW" "Skonto_FRW" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[73] > AnaDat.Debop.Transp "Transp" "Transp" ? ? "decimal" ? ? ? ? ? ? yes ? no 7.8 yes ? _FldNameList[74] > AnaDat.Debop.TrNr1 "TrNr1" "TrNr1" ? ? "integer" ? ? ? ? ? ? yes ? no 9.6 yes ? _FldNameList[75] > AnaDat.Debop.TrNr2 "TrNr2" "TrNr2" ? ? "integer" ? ? ? ? ? ? yes ? no 7.2 yes ? _FldNameList[76] > AnaDat.Debop.Verpack "Verpack" "Verpack" ? ? "decimal" ? ? ? ? ? ? yes ? no 8 yes ? _FldNameList[77] > AnaDat.Debop.Vertr "Vertr" "Vertr" ? ? "integer" ? ? ? ? ? ? yes ? no 4.4 yes ? _FldNameList[78] > AnaDat.Debop.WustAbr "WustAbr" "WustAbr" ? ? "logical" ? ? ? ? ? ? yes ? no 8.2 yes ? _FldNameList[79] > AnaDat.Debop.WW "WW" "WW" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[80] > AnaDat.Debop.WW_FRW "WW_FRW" "WW_FRW" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[81] > AnaDat.Debop.Zahbetr "Zahbetr" "Zahbetr" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[82] > AnaDat.Debop.Zahbetr_FRW "Zahbetr_FRW" "Zahbetr_FRW" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[83] > AnaDat.Debop.Zahdat "Zahdat" "Zahdat" ? ? "date" ? ? ? ? ? ? yes ? no 10.8 yes ? _FldNameList[84] > AnaDat.Debop.ZahSkon[1] "ZahSkon[1]" "ZahSkon1" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[85] > AnaDat.Debop.ZahSkon[2] "ZahSkon[2]" "ZahSkon2" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[86] > AnaDat.Debop.ZahSkon[3] "ZahSkon[3]" "ZahSkon3" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[87] > AnaDat.Debop.ZahSkon[4] "ZahSkon[4]" "ZahSkon4" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[88] > AnaDat.Debop.ZahSkon[5] "ZahSkon[5]" "ZahSkon5" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[89] > AnaDat.Debop.ZahSkon[6] "ZahSkon[6]" "ZahSkon6" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[90] > AnaDat.Debop.ZahSkon[7] "ZahSkon[7]" "ZahSkon7" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[91] > AnaDat.Debop.ZahSkon[8] "ZahSkon[8]" "ZahSkon8" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[92] > AnaDat.Debop.ZahSkon[9] "ZahSkon[9]" "ZahSkon9" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[93] > AnaDat.Debop.ZahSkon[10] "ZahSkon[10]" "ZahSkon10" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[94] > AnaDat.Debop.ZahSkon[11] "ZahSkon[11]" "ZahSkon11" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[95] > AnaDat.Debop.ZahSkon[12] "ZahSkon[12]" "ZahSkon12" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ? _FldNameList[96] > AnaDat.Debop.Zahwpfl[1] "Zahwpfl[1]" "Zahwpfl1" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[97] > AnaDat.Debop.Zahwpfl[2] "Zahwpfl[2]" "Zahwpfl2" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[98] > AnaDat.Debop.Zahwpfl[3] "Zahwpfl[3]" "Zahwpfl3" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[99] > AnaDat.Debop.Zahwpfl[4] "Zahwpfl[4]" "Zahwpfl4" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[100] > AnaDat.Debop.Zahwpfl[5] "Zahwpfl[5]" "Zahwpfl5" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[101] > AnaDat.Debop.Zahwpfl[6] "Zahwpfl[6]" "Zahwpfl6" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[102] > AnaDat.Debop.Zahwpfl[7] "Zahwpfl[7]" "Zahwpfl7" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[103] > AnaDat.Debop.Zahwpfl[8] "Zahwpfl[8]" "Zahwpfl8" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[104] > AnaDat.Debop.Zahwpfl[9] "Zahwpfl[9]" "Zahwpfl9" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[105] > AnaDat.Debop.Zahwpfl[10] "Zahwpfl[10]" "Zahwpfl10" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[106] > AnaDat.Debop.Zahwpfl[11] "Zahwpfl[11]" "Zahwpfl11" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[107] > AnaDat.Debop.Zahwpfl[12] "Zahwpfl[12]" "Zahwpfl12" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[108] > AnaDat.Debop.Zahwust[1] "Zahwust[1]" "Zahwust1" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[109] > AnaDat.Debop.Zahwust[2] "Zahwust[2]" "Zahwust2" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[110] > AnaDat.Debop.Zahwust[3] "Zahwust[3]" "Zahwust3" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[111] > AnaDat.Debop.Zahwust[4] "Zahwust[4]" "Zahwust4" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[112] > AnaDat.Debop.Zahwust[5] "Zahwust[5]" "Zahwust5" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[113] > AnaDat.Debop.Zahwust[6] "Zahwust[6]" "Zahwust6" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[114] > AnaDat.Debop.Zahwust[7] "Zahwust[7]" "Zahwust7" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[115] > AnaDat.Debop.Zahwust[8] "Zahwust[8]" "Zahwust8" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[116] > AnaDat.Debop.Zahwust[9] "Zahwust[9]" "Zahwust9" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[117] > AnaDat.Debop.Zahwust[10] "Zahwust[10]" "Zahwust10" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[118] > AnaDat.Debop.Zahwust[11] "Zahwust[11]" "Zahwust11" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _FldNameList[119] > AnaDat.Debop.Zahwust[12] "Zahwust[12]" "Zahwust12" ? ? "decimal" ? ? ? ? ? ? yes ? no 14 yes ? _Design-Parent is WINDOW dTables @ ( 1.14 , 2.6 ) */ /* QUERY Query-Main */ &ANALYZE-RESUME &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _MAIN-BLOCK dTables /* *************************** Main Block *************************** */ { incl/datmainblock.i } &IF DEFINED(UIB_IS_RUNNING) <> 0 &THEN RUN initializeObject. &ENDIF /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME /* ********************** Internal Procedures *********************** */ {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE dataAvailable dTables _DB-REQUIRED PROCEDURE dataAvailable : /*------------------------------------------------------------------------------ Purpose: Super Override Parameters: Notes: ------------------------------------------------------------------------------*/ { incl/datdataavailable.i } END PROCEDURE. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE disable_UI dTables _DEFAULT-DISABLE PROCEDURE disable_UI : /*------------------------------------------------------------------------------ Purpose: DISABLE the User Interface Parameters: Notes: Here we clean-up the user-interface by deleting dynamic widgets we have created and/or hide frames. This procedure is usually called when we are ready to "clean-up" after running. ------------------------------------------------------------------------------*/ /* Hide all frames. */ IF THIS-PROCEDURE:PERSISTENT THEN DELETE PROCEDURE THIS-PROCEDURE. END PROCEDURE. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE INAKTIVIEREN dTables _DB-REQUIRED PROCEDURE INAKTIVIEREN : /*------------------------------------------------------------------------------ Purpose: Parameters: Notes: ------------------------------------------------------------------------------*/ { incl/datinaktivieren.i } END PROCEDURE. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE initializeObject dTables _DB-REQUIRED PROCEDURE initializeObject : /*------------------------------------------------------------------------------ Purpose: Super Override Parameters: Notes: ------------------------------------------------------------------------------*/ { incl/datinitialize.i } END PROCEDURE. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE REAKTIVIEREN dTables _DB-REQUIRED PROCEDURE REAKTIVIEREN : /*------------------------------------------------------------------------------ Purpose: Parameters: Notes: ------------------------------------------------------------------------------*/ { incl/datreaktivieren.i } END PROCEDURE. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE REPOS_TABELLE dTables _DB-REQUIRED PROCEDURE REPOS_TABELLE : /*------------------------------------------------------------------------------ Purpose: Parameters: Notes: ------------------------------------------------------------------------------*/ { incl/datrepos.i } END PROCEDURE. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE SET_FILTER dTables _DB-REQUIRED PROCEDURE SET_FILTER : /*------------------------------------------------------------------------------ Purpose: Parameters: Notes: ------------------------------------------------------------------------------*/ { incl/datsetfilter.i } END PROCEDURE. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE SET_OPENFLAG dTables _DB-REQUIRED PROCEDURE SET_OPENFLAG : /*------------------------------------------------------------------------------ Purpose: Parameters: Notes: ------------------------------------------------------------------------------*/ { incl/datsetopenflag.i } END PROCEDURE. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE SET_SORT dTables _DB-REQUIRED PROCEDURE SET_SORT : /*------------------------------------------------------------------------------ Purpose: Parameters: Notes: ------------------------------------------------------------------------------*/ { incl/datsetsort.i } END PROCEDURE. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} /* ************************ Function Implementations ***************** */ {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION getCurrentRecid dTables _DB-REQUIRED FUNCTION getCurrentRecid RETURNS RECID ( /* parameter-definitions */ ) : /*------------------------------------------------------------------------------ Purpose: Notes: ------------------------------------------------------------------------------*/ { incl/datgetcurrentrecid.i } END FUNCTION. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION getQueryBuffer dTables _DB-REQUIRED FUNCTION getQueryBuffer RETURNS HANDLE ( /* parameter-definitions */ ) : /*------------------------------------------------------------------------------ Purpose: Notes: ------------------------------------------------------------------------------*/ RETURN BUFFER rowObject:HANDLE. END FUNCTION. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END} {&DB-REQUIRED-START} &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION openQuery dTables _DB-REQUIRED FUNCTION openQuery RETURNS LOGICAL ( /* parameter-definitions */ ) : /*------------------------------------------------------------------------------ Purpose: Super Override Notes: ------------------------------------------------------------------------------*/ DEF VAR Felder AS CHAR NO-UNDO. DEF VAR Inhalt AS CHAR NO-UNDO. DEF VAR ix AS INT NO-UNDO. DEF VAR cFeld AS CHAR NO-UNDO. /* IF NOT fOpen THEN RETURN FALSE. */ xWhere = ''. xSort = ''. xString = ''. Felder = DYNAMIC-FUNCTION('getForeignFields':U) NO-ERROR. Inhalt = DYNAMIC-FUNCTION('getForeignValues':U) NO-ERROR. /* ix = LOOKUP('Feld', Felder, ',') / 2. */ /* cFeld = ENTRY (ix , Inhalt, CHR(01)). */ /* xWhere = 'Aufko.Firma = ' + QUOTER(Firma) + ' AND ' */ /* + 'Aufko.Auf_Sta = ' + STRING(Auf_Sta) + ' '. */ /* xString = 'FOR EACH Debop ' + xSort + 'WHERE ' */ /* + 'Debop.Firma = "' + Firma + '" AND ' */ /* + 'Debop.Knr = ' + STRING(Knr) + ' ' */ /* + 'NO-LOCK BY Debop.FakDat DESCENDING INDEXED-REPOSITION '. */ { incl/datopenquery.i } IF xWhere <> '' THEN DYNAMIC-FUNCTION('setQueryWhere':U , INPUT xWhere ). IF xSort <> '' THEN DYNAMIC-FUNCTION('setQuerySort':U , INPUT xSort ). IF xString <> '' THEN DYNAMIC-FUNCTION('setQueryString':U, INPUT xString). RETURN SUPER( ). END FUNCTION. /* _UIB-CODE-BLOCK-END */ &ANALYZE-RESUME {&DB-REQUIRED-END}