Einzelnen Beitrag anzeigen

wschrabi

Registriert seit: 16. Jan 2005
437 Beiträge
 
#2

AW: EMS Export WIzard - Beschriftung

  Alt 28. Jul 2012, 13:18
Habs schon gefunden:

Code:
  MyQuery3.SQL.Clear;
  MyQuery3.SQL.Add('select mednamekurz from medparameter;');
  MyQuery3.Execute;

  QExport4Dialog1.Captions.Clear;
  QExport4Dialog1.Captions.Add('Field0=Zeile' );
  QExport4Dialog1.Captions.Add('Field1=Befund-Nr' );
  QExport4Dialog1.Captions.Add('Field2=Patientenname' );
  iSPalte:= 1;
  while not(MyQuery3.Eof) do
    begin
    QExport4Dialog1.Captions.Add('Field'+IntTOStr(iSpalte+infofeldzahl)+'='+MyQuery3.FieldValues['mednamekurz'] );
    MyQuery3.Next;
    inc(iSpalte);
    end;
  Mit Zitat antworten Zitat