Autor Beitrag
marciboy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Fr 30.10.09 09:39 
Hallo

wolltemal fragen, ob jemand hierschon erfahrungen im programmieren von teilekatalogen wie tecdoc hat.


Gruß
marc


Moderiert von user profile iconChristian S.: Topic aus Gemeinschaftsprojekte verschoben am Fr 30.10.2009 um 11:53
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Fr 30.10.09 10:49 
Such mal allgemien nach Stücklisten

_________________
Markus Kinzler.
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Fr 30.10.09 10:57 
Willst du von deinem Programm auf TecDoc zugreifen oder willst du selbst so eine Stückliste schreiben? In beiden Fällen wirst du dich wohl, je nach Anzahl der Datensätze, in Datenbanken einarbeiten müssen, wobei man bei TecDoc erstmal wissen muss welche Datenbank die einsetzen.

Wenn es nur wenige Datensätze sind reichen wohl Suche in: Delphi-Forum, Delphi-Library XML-Dateien. Ansonsten kann ich dir SQLite empfehlen.
marciboy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Fr 30.10.09 11:03 
hallo

datenbank ist vorhanden. Es geht mir nur um die reine katalogerstellung mit delphi.
marciboy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Fr 30.10.09 11:36 
kann jemand aus einer sp eine delphi abfrage machen?
marciboy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Sa 31.10.09 07:57 
kann da keiner helfen???

Gruß
marc
uko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 220
Erhaltene Danke: 1

Win XP, VISTA, WIndows 7
Delphi 2007/2010 Prof
BeitragVerfasst: Sa 31.10.09 09:37 
user profile iconmarciboy hat folgendes geschrieben Zum zitierten Posting springen:
kann jemand aus einer sp eine delphi abfrage machen?


Jetzt überleg mal: wie soll Dir jemand mit diesen (Nicht-)Informationen helfen können? Auf deine Frage ist nämlich auch eine Funktion, die immer 0 zurückgibt, eine völlig korrekte Umwandlung. :?

Beschreib halt mal genauer, was Du umwandeln mußt: welche Datenbank, welcher Zugriff, welchen Code willst Du umwandeln, etc.

Grüße,
Uli
marciboy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Sa 31.10.09 09:42 
ausblenden SQL-Anweisung
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
begin/* Procedure Text*/
  if (:p_firma = 'a')
  then
    begin /* daten */
      if (:p_art = '2')
      then
        begin /* Suche nach Typ und generischem Artikel  */
          for
          select distinct genartnr,bez
          from   p_suchbaum(:p_suchbaumnr,:p_node_id)
          into   :genartnr,:genartbez
          do
          begin /* Cursor über Suchbaum */
            for
            select t1.artnr,t1.einspnr,t1.lfdnr,t1.t400rest,
                   t4.bez,t4.vpe,t4.kzat,t4.artstat,t4.ean,t5.bez,t5.ay_gebrnr
            from  (tab400ay t1
                  left outer join tab200ay t4
                  on t1.artnr = t4.artnr and t1.einspnr = t4.einspnr)
                  left outer join tab040 t5
                  on t1.einspnr = t5.einspnr
            where (((kritwert = :p_ktypnr)or (kritwert is null))
            and   t1.genartnr = :genartnr)
            order by t1.einspnr,t1.artnr,t1.lfdnr
            into  :artnr,:einspnr,:lfdnr,:v_t400rest,
                  :artikelbez,:vpe,:kzat,:artstat,:ean,:lieferant,:gebrnr


Moderiert von user profile iconNarses: SQL-Tags hinzugefügt
uko
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 220
Erhaltene Danke: 1

Win XP, VISTA, WIndows 7
Delphi 2007/2010 Prof
BeitragVerfasst: Sa 31.10.09 12:58 
Hm, und warum willst Du die StoredProcedure umwandeln in Delphi-Code? Ruf sie doch einfach von Delphi her auf.
Schau Dir einfach mal ein Datenbanktutorial an (z.b. hier: www.delphi-treff.de/tutorials/) falls Du nicht weißt wie.

Uli
marciboy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Sa 31.10.09 18:15 
Hallo

aufrufen wollteich sie auch. Das Tut habe ich mir auch schon angeschaut, nur fehlt mir irgendwie der anstoß.

Gruß
Marc