Delphi-PRAXiS
Seite 3 von 4     123 4      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Wie drucken Sie Name und Note in FASTREPORT? (https://www.delphipraxis.net/205460-wie-drucken-sie-name-und-note-fastreport.html)

haentschman 19. Sep 2020 10:35

AW: Wie drucken Sie Name und Note in FASTREPORT?
 
...see previous post. :zwinker:

Three Questions:
1. you programming for yourself?
2. you use a version control system?
3. which delphi version do you use -> add this to your profile. :wink:

Alg2009 19. Sep 2020 13:16

AW: Wie drucken Sie Name und Note in FASTREPORT?
 
Zitat:

Zitat von haentschman (Beitrag 1473860)
...see previous post. :zwinker:

Three Questions:
1. you programming for yourself? yes
2. you use a version control system? no
3. which delphi version do you use -> add this to your profile. ok :wink:

Do you want to help me?

haentschman 19. Sep 2020 15:58

AW: Wie drucken Sie Name und Note in FASTREPORT?
 
Zitat:

Do you want to help me?
whereby? :gruebel: The project you have...
Zitat:

you use a version control system? no
GIT video tutorial with TortoiseGIT (GUI): https://www.youtube.com/channel/UCO2...8iSssbN66eECLA
GIT TortoiseGIT install: https://www.youtube.com/watch?v=fNPLuJTTto0

...if you want "command line", you found more videos/tutorials.

Alg2009 19. Sep 2020 18:53

AW: Wie drucken Sie Name und Note in FASTREPORT?
 
What do I do with the TortoiseGIT!?
I no longer understand what you mean?:gruebel:

i have a simple question and you have the answer why don't you give me the answer instead of asking me to install program that I don't want

haentschman 20. Sep 2020 07:15

AW: Wie drucken Sie Name und Note in FASTREPORT?
 
Hi...
Zitat:

i have a simple question and you have the answer why don't you give me the answer
The answer you have! You just have to deal with it and see what has changed in the source code. :roll: https://www.delphipraxis.net/1473854-post19.html
Zitat:

instead of asking me to install program that I don't want
Then I can not help you anymore. You have not understood what a version control system is needed for and why it is needed. The links was only for information...:roll:

...i am out. :?

Alg2009 20. Sep 2020 14:34

AW: Wie drucken Sie Name und Note in FASTREPORT?
 
Zitat:

Zitat von haentschman (Beitrag 1473860)
...see previous post. :zwinker:

Forgive me :oops: and thank you very match
i didn't see The attached file in the previous reply

I benefited a lot from you and learned new things like "TfoSettings" Which I did not understand and why you added a new Unit? I will try to understand it

thank you very very match haentschman for your help

Alg2009 20. Sep 2020 15:31

AW: Wie drucken Sie Name und Note in FASTREPORT?
 
Liste der Anhänge anzeigen (Anzahl: 1)
Believe me, you gave me a code that I've never seen before so understanding it sounds difficult.
You have added things that I did not know like(New unit)

Now i understand you why you asked about 'Version control System'

I'll be in hiding for two or three days to understand what you explained to me earlier and I'm back
By the way the code did not work

Klaus01 20. Sep 2020 16:45

AW: Wie drucken Sie Name und Note in FASTREPORT?
 
you can remove these 5 Units from the uses that are underlined.

Grüße
Klaus

haentschman 21. Sep 2020 05:17

AW: Wie drucken Sie Name und Note in FASTREPORT?
 
Sorry. :oops: These units mad* was automatic add to the project. This is a tool to finding errors... I should have to delete them for you.
Zitat:

By the way the code did not work
...i know. :wink: It's an easy mistake that I have left as it is...from me. You have to find it out yourself. Write the error message here.
Zitat:

what i do:
* formatting
* naming
* SQL was wrong
* assignment of the query to the report
* delete unused report datasets
* editing report
formatting:
http://docwiki.embarcadero.com/RADSt...ng_Source_Code

naming:
* All components should have a prefix. 2 to 4 signs. example: fo = Form, edt = Edit, mem = Memo and so on... You can choose it yourself.
previos Unit6 -> Settings only the name has changed!
previos TForm6 -> TfoSettings only the name has changed!
https://wiki.delphi-jedi.org/wiki/Pr...ge_Style_Guide

SQL was wrong:
...you can see (btnParamètresClick)

assignment of the query to the report:
Delphi-Quellcode:
dmData.frxDatasetReportMaster.DataSet := dmData.qryReport;
dmData.frxEtudiant.ShowReport;
delete unused report datasets:
...from the DatamoduleEtudiant.

editing report:
New names assigned to the report.

Alg2009 22. Sep 2020 20:14

AW: Wie drucken Sie Name und Note in FASTREPORT?
 
Hello,

Zitat:

It's an easy mistake that I have left as it is...from me. You have to find it out yourself. Write the error message here.
The error was in the connection settings

I almost visit GitHub website and i didn't know it is a repository :oops: thank you for all the information that will help me in the future


There is only one last question
You said
Zitat:

Zitat von haentschman (Beitrag 1473854)
- Never use DB tables. Better use Querys. :warn:

That's means i link all the tables together with JOIN(inner,Left or Right) the question is If, for example, we add another table to the database let it be 'Group' -->the relation between Student and Group is one to many(Each student has one group, and each group has more than one student)

We write two queries the first to show the students and their grades And the other to show the students and their group or only one query ?

because if we write one query the result it will be wrong
Code:
SELECT E.ID, E.NOM, E.PRENOM, GroupName,LE.NOMLECON, LE.NOTE FROM ETUDIANT E
JOIN ETUDLECON LO ON E.ID = LO.ID
JOIN LECON LE ON LO.LECONID = LE.LECONID
JOIN Group G ON G.GroupID = E.GroupID


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:46 Uhr.
Seite 3 von 4     123 4      

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