Autor Beitrag
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Di 27.07.04 13:42 
Hallo !!

ich muss bei dienem projekt, da ndem ich arbiete, ausdrucke erstellen können. ich dachte mir, dass mach ich mal mit den Quickreport Kompos, da dich ja recht komfortabel sind. um mit denen zu arbieten, muss man aber eine datenbank haben.
ich habe die daten die ich asdrucken muss aber nicht in einer datenbank, sondern anders vorliegen.
kann ich dann die Qucikreports überhaupt benutzen und wenn ja: wie ?

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Killi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 299

Win*
D6 Prof
BeitragVerfasst: Di 27.07.04 14:39 
Natürlich kannst du sie auch so nutzen!!!

Du musst auf dein QuickReport eben nur QuickReportLABELS machen, die du dann ganz einfach wie immer mit Caption füllst!

Über QUickReport1.Print; druckst du das Ganze dann aus...

_________________
----
Life is hard and then you die
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Di 27.07.04 14:43 
hi, es gibt auch noch so nen event,

onNeedData oder so, schau dir das mal an.

Gruß
Ken

_________________
Eine Klasse beschreibt die Struktur und das Verhalten einer Menge gleichartiger Objekte.
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 28.07.04 12:50 
ok danke, das werd ich mal machen.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 28.07.04 13:17 
ich werd da einfach nicht schlau draus.

wie kann ich es denn machen, dass im Quickreport die Daten aus bsp. einem TListview untereinander stehen ??
Muss ich da jedesmal ein neues QuickReport Label erstellen oder wie ??

_________________
In the beginning was the word.
And the word was content-type: text/plain.
firus1983
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 170

Win98,XP,
D6 Entrpr
BeitragVerfasst: Mi 28.07.04 13:42 
Versuch's doch mal mit einem QRMemo oder einem QRRichText !!!

_________________
Veni Vidi Codi !
Ich kam, sah, und programmierte !
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 28.07.04 17:11 
ich möchte das aber so in Spalten ausgedruckt haben, wie es im Listiew drin ist, und da kann man schleht mit memos arbeiten, da eine lange zeile im memo evtl umgebrochen wird und dann die zeilen nichtmehr zueinander passen.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Horst
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 120



BeitragVerfasst: Mi 28.07.04 19:06 
wenn ich das richtig sehe wird folgendes Gesucht:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
procedure TQReport.QReportNeedData(Sender: TObject;
  var MoreData: Boolean);
begin
  if zaehl<maxzaehl then
    moreData:=true
   else
    moredata:=false;
  inc(zaehl);
end;

procedure TQReport.QReportBeforePrint(Sender: TQuickRep;
  var PrintReport: Boolean);
begin
  zaehl:=0;
end;


abhängig von zaehler muss dann in der onPrint-Eigenschaft die label.Caption gefüllt werden.

Gruß

Horst
:wave: