AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Datenbanken Wie drucken Sie Name und Note in FASTREPORT?
Thema durchsuchen
Ansicht
Themen-Optionen

Wie drucken Sie Name und Note in FASTREPORT?

Ein Thema von Alg2009 · begonnen am 12. Sep 2020 · letzter Beitrag vom 25. Sep 2020
 
Benutzerbild von haentschman
haentschman

Registriert seit: 24. Okt 2006
Ort: Seifhennersdorf / Sachsen
5.458 Beiträge
 
Delphi 12 Athens
 
#8

AW: Wie drucken Sie Name und Note in FASTREPORT?

  Alt 19. Sep 2020, 08:57
Hi...

you want this?

Question:
How long you programming Delphi?

You should read this information:
StyleGuide: https://wiki.delphi-jedi.org/wiki/Pr...ge_Style_Guide
* naming of units, variables
* indentation
* readable names
CamelCase:
https://en.wikipedia.org/wiki/Camel_...er_programming

Your Project:

Do you want to learn something? ...ok.

Plus:
+ SQL with parameters

Minus:
- naming of the components/units -> Do yourself a favor with it. It is better readable.
- Never write hardcoded folders/files, access data into the connection. This belongs, partly encrypted, into an INI file or into the registry.
Code:
object Conn: TFDConnection
    Params.Strings = (
      'Database=D:\Database Desktop\BaseDonee\SCOLAIRE.FDB'
      'User_Name=SYSDBA'
      'Password=masterkey'
      'DriverID=FB')
    Connected = True
    LoginPrompt = False
    Left = 79
    Top = 22
  end
- Never use DB tables. Better use Querys.
- DateTime Edit without check. Better use a DateTimePicker...
- Creation of the Datamodule before creating Main form. (in DPR)
- use Anchors for the components http://docwiki.embarcadero.com/Libra...ontrol.Anchors
- Firebird has a function for reading the new ID https://firebirdsql.org/refdocs/lang...21-insert.html
- write the code or/and names better in english.

what i do:
* formatting
* naming
* SQL was wrong
* assignment of the query to the report
* delete unused report datasets
* editing report
Angehängte Grafiken
Dateityp: png Preview.png (14,3 KB, 24x aufgerufen)
Angehängte Dateien
Dateityp: zip BaseDonee.zip (129,5 KB, 8x aufgerufen)

Geändert von haentschman (19. Sep 2020 um 10:57 Uhr)
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:36 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz