Autor Beitrag
LDMatrix17
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Do 03.05.07 17:49 
Hallo! @ all Delphi fans!!

Nun möchte ich auch mal mit RaveReports arbeiten.
bei uns in der Schule ist keiner der sOOOO viel Ahnung von Delphi hat,

klar ist es für mansche leute sau leicht mit RaveReports zu arbeiten, aber wenn man nie was mit RaveReport gemacht hat dann blickt man nicht soO schnell mit einem Beispiel..

Es wäre sehr dankbar wenn mir jemand SCHRITT für SCHRITT erklären könnte wie und mit was ich anfangen soll.

Ich habe RAVE REPORTS 5.1 EX für DELPHI 7


Mfg
Christian

Moderiert von user profile iconChristian S.: Topic aus Dateizugriff verschoben am Do 03.05.2007 um 18:53
Moderiert von user profile iconTino: Info Felder verwendet und Titel erweitert.

_________________
~sOm3!~gUrLs!~sOm3!~dAyS!~L!f3~iS!~nOT!~bOriNg!!~
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Do 03.05.07 17:52 
Hallo

Docs zu rave sind ziemlich dünn gesäht. unter www.nevrona.com/Default.aspx?tabid=152 findest du "introductions" und "first steps" mit rave, die solltest du auf alle Fälle lesen.

Ansonsten wäre es hilfreich zu wissen, wie du deine Reports aufbaust, mit oder ohne Datenbankanbindung?

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Do 03.05.07 17:52 
Hallo!

Du findest hier einige Tutorials:
www.nevrona.com/Default.aspx?tabid=179

Grüße
Christian

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Do 03.05.07 18:03 
ohaa friends!! danke für die blitz schnelle Antwort ;)

also ich benutze keine Datenbankversionen.

wir arbeiten gerade mit .DAt Dateien (wie peinlich :S )

wir programmieren gerade ein Projekt wo man Aufträge erfassen kann und es in ".Dat" Dateien speichern bzw aufrufen kann.
z.b
Auftrag1
--Nr---Artikel---e.Preis--Menge--GPreis
---1----Wine--------1,5----2-------3
---2----Cola--------0,75---1-------0,75

und und und...

wir wollen jetzt versuchen ein Report zu erstellen wo man Firmenname, adresse
und die Aufträge variable einsetzen und das später ausdrucken zu können.

Christian

_________________
~sOm3!~gUrLs!~sOm3!~dAyS!~L!f3~iS!~nOT!~bOriNg!!~
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Do 03.05.07 19:40 
Da kannste über TRvCustomConnection deine Daten übergeben.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Mi 09.05.07 15:21 
user profile iconjakobwenzel hat folgendes geschrieben:
Da kannste über TRvCustomConnection deine Daten übergeben.


oh mannn!!
ich versuche seit einer Woche..
mein kopf ist schon explodiert man..

ich habs nicht mal hinbekommen wie man TRaveengine mit Delphi verbindet :( :(

kann mir jemand per REMOTE ASSISTANCE helfen??
oder ein simple beispiel??


mfg
Christian

_________________
~sOm3!~gUrLs!~sOm3!~dAyS!~L!f3~iS!~nOT!~bOriNg!!~
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mi 09.05.07 16:00 
Hallo,

gugg mal hier
www.delphi-forum.de/...ave+customconnection

ansonsten schreib, was du gemacht hast, wo genau dein problem liegt oder häng dein Projekt dran (.pas+.rav)

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Fr 11.05.07 13:09 
woww.. fakin nice eyy..
hab nicht gedacht das Delphi soO assi leicht ist.
jedesmal wenn ich was gelernt hab fällt mir delphi sauuuu leicht ;) ;)
endlich eyy!!!!! :D :D

hey guck mal bei RVC.Connection muss man alle felder schon vorher
definieren ne?
zumindest geht bei mir so ;)

aber ich wollte dass die felder automatisch erstellt wird und in eine bestimmte rheinfolge eingesetzt wird.

gehts das überhapt?

here meine Code
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
procedure TForm1.RvCustomConnection1Open(Connection: TRvCustomConnection);
begin
  Connection.DataRows := 1;
end;

procedure TForm1.RvCustomConnection1GetCols(
  Connection: TRvCustomConnection);
Var i,N : IntegeR;
begin
   For i := 1 to Sgrid.RowCount -1 do
    for N := 0 to SGrid.ColCount -1 do
    Connection.WriteField('Field'+IntToStr(i)+IntToStr(n),dtString,20,'','');
end;

procedure TForm1.RvCustomConnection1GetRow(
  Connection: TRvCustomConnection);
Var i,N : IntegeR;
begin
   For i := 1 to Sgrid.RowCount -1 do
    for N := 0 to SGrid.ColCount -1 do
     Connection.WriteStrData(SGrid.Cells[i,n],'Fakin nativ');

end;

*SGrid = StringGrid
mein problem ist dass meine StringGrid variable RowCountZahl hat
spricht ungleichmäßige fields erstellt werden muss.

mfg
Chris

_________________
~sOm3!~gUrLs!~sOm3!~dAyS!~L!f3~iS!~nOT!~bOriNg!!~
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Sa 12.05.07 15:16 
geht das überhaupt?
oder muss man mit datenbank arbeiten? wenn man die felder variable erstellen will. :(
*Confused*

mfg
Christian

_________________
~sOm3!~gUrLs!~sOm3!~dAyS!~L!f3~iS!~nOT!~bOriNg!!~
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 12.05.07 15:54 
natürlich geht das, aber du hast nicht richtig gelesen

Du kannst "Zeilenweise" arbeiten.

ist direkt hier reingeklimpert/geändert, weiß nicht, ob es geht
ausblenden Delphi-Quelltext
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:
27:
procedure TForm1.RvCustomConnection1Open(Connection: TRvCustomConnection);  
begin  
  Connection.DataRows := Sgrid.RowCount;  //hier kommt die ANZAHL der Datensätze hin
end;  

 
procedure TForm1.RvCustomConnection1GetCols(  
  Connection: TRvCustomConnection);  
Var i,N : IntegeR;  
begin  
//   For i := 1 to Sgrid.RowCount -1 do  //brauchst du nicht
    for N := 0 to SGrid.ColCount -1 do  //nur die Saplten = Feldbezeichner
    Connection.WriteField('Field'+IntToStr(n),dtString,20,'','');  
end;  

 
procedure TForm1.RvCustomConnection1GetRow(  
  Connection: TRvCustomConnection);  
Var i,N : IntegeR;  
begin  
//   For i := 1 to Sgrid.RowCount -1 do  //brauchst du nicht
//nur Spaltenweise, getrow wird für jeden Datensatz aufgerufen
//mit connection dataindex, weißt du, wo du bist.
    for N := 0 to SGrid.ColCount -1 do  
//es heißt cells[acol,arow], in deinem code war das verkehrt herum
     Connection.WriteStrData(SGrid.Cells[n,connection.dataindex],'Fakin nativ');  
end;

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
LDMatrix17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 73

xXpProOxsP2x
Flash5~Flash7 MX 2004 Prof.~Flash 8 Prof.~Delphi 7 prof.&HTML
BeitragVerfasst: Sa 12.05.07 16:20 
Ohaaaaaaaaaaaaaaa mann :D :D
du bist echt echt echt ein DELPHI SCHATZ :D :D

hey ich weiß ich was ich schreiben soll ey :D :D

assi danküüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüü man :D :D

Chris

_________________
~sOm3!~gUrLs!~sOm3!~dAyS!~L!f3~iS!~nOT!~bOriNg!!~