Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Prism Delphi.net 2006 und XML (https://www.delphipraxis.net/124581-delphi-net-2006-und-xml.html)

Digielm 21. Nov 2008 12:29


Delphi.net 2006 und XML
 
Hallo Leute ich hab da ein dummer Problem und kämpfe schon seit Stunden damit rum.


das ist mein Source:


Delphi-Quellcode:
    tbproperties := Datatable.create;
    tbProperties := dsConfig.Tables.Item['rfcfields'];
    for I := 0 to tbProperties.Rows.Count-1 do
    begin
      if tbProperties.Rows[i].Item['tablename'].ToString = 'KNA1' then
      begin
        kna1 := Datatable.create;
//        messagebox.show(tbProperties.TableName);
        tbProperties.Rows.
        datagrid1.DataSource := tbProperties.Rows.Item[I].Table;
      end;
Das die XML auf die ich zugreife

Delphi-Quellcode:
   <RFCFIELDS tableName="KNA1" whereFields="KUNNR" multiple="false">
       <FIELD name="MANDT" lookupTable="" lookupFields="" staticLookupWhere=""></FIELD>
Ziel ist es das ich eben alle "field" erhalte die passend für die Tabelle KNA1 stehen.

komme aber leider nicht weiter.


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:34 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz