Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi Index in TClientDataSet (https://www.delphipraxis.net/14666-index-tclientdataset.html)

Blechwolf 13. Jan 2004 17:35


Index in TClientDataSet
 
Salut,

ich habe da mal ne Frage zum TClientDataSet.
Ich habe mir da ein TClientDataSet erzeugt, und würde jetzt gerne einen automatisch hochzählenden Index als Feld drin haben, den ich in einem anderen TClientDataSet als Information speichern will.

Wie bekomme ich das jetzt hin, daß eines der Felder jetzt automatisch hochzählt?

Verschont mich bitte mit Hinweisen auf FireBird, LittleBase, InterBase und BDE. Eine komplette DB ist viel zu mächtig und zu groß und zu schwerfällig und nicht nötig.

Grüße

Wolf

r_kerber 13. Jan 2004 20:24

Re: Index in TClientDataSet
 
Zitat:

Zitat von Blechwolf
Verschont mich bitte mit Hinweisen auf FireBird, LittleBase, InterBase und BDE. Eine komplette DB ist viel zu mächtig und zu groß und zu schwerfällig und nicht nötig.

Ich verschone Dich trotzdem nicht. :lol: Asvantage TDataSet Descendant: Advantage Developer Zone. Sind lediglich zwei zusätzliche DLL's!

Blechwolf 19. Jan 2004 08:23

Re: Index in TClientDataSet
 
Fein,
aber ist das ganze auch in einer kommerziellen Anwendung kostenlos einsetzbar ?

Grüße

Wolf

APP 19. Jan 2004 09:07

Re: Index in TClientDataSet
 
Hallo r_kerber,
würde mich auch interessieren, habe die 10 Meg gesaugt und installiert,
fand aber nirgendwo Lizenzbestimmungen (auch nicht auf der Webseite).

r_kerber 19. Jan 2004 09:42

Re: Index in TClientDataSet
 
Advantage Local Server:
Zitat:

Zitat von Extended Systems
There is no cost for the Advantage Local Server. The Advantage Local Server is installed with all Advantage Windows and Linux client products (which are also free). This allows you to develop applications for single and multi-user environments and distribute them royalty-free when using the Advantage Local Server.
...
Licensing note:
If an Advantage application is distributed to work without the Advantage Database Server (i.e., it uses the Advantage Local Server to access data), the application must act as a "client" that directly accesses and uses the data. The application cannot act as "middleware" or as a "server" by having the data forwarded by any means to a separate computer. In other words, it is illegal to use the Advantage Local Server with a Web server, an application server, a terminal server, or any other type of middleware or server product to access data on behalf of remote computers. An Advantage Database Server (a.k.a. remote server) product must be purchased and used to allow an Advantage application to access data on behalf of applications running on remote computers.


APP 19. Jan 2004 10:46

Re: Index in TClientDataSet
 
Hallo r_kerber,
danke für Deine Info, Das sind tolle News,
denn nun kann ich auf den doch etwas sperrigen "Flashfiler"
(den ich bis jetzt favorisierte :mrgreen: ) für Kleinstprojekte durch
den "Advantage Local Server" ersetzten.



Da meine Faulheit im Moment grenzenlos ist :stupid: :
Wenn ich nun eine Exe von meinem Projekt erstellt habe,
brauche ich nur 2 Stk. Dll's mitgeben
(vielleicht auch noch im Programmpfad) und das wars dann?
:love:

r_kerber 19. Jan 2004 11:18

Re: Index in TClientDataSet
 
Wenn Du bei der Installation eine Frage "richtig" beantwortest, dann stehen alle erforderlichen Dateien in einem Redistribute-Verzeichnis.

BTW Ich empfehle Dir auch noch den DataArchitect!

Blechwolf 19. Jan 2004 11:25

Re: Index in TClientDataSet
 
Gesaugt, installiert, getting started gesaugt und gelesen, aber meine eigentliche Frage löst sich immer nicht.

Wie erstelle ich in einer Tabelle (sei es nun TClientDataSet oder TAdvantageBla) einen Primary Key, und referenziere diesen aus einer anderen Tabelle ???

Grüße

Wolf

Blechwolf 20. Jan 2004 13:31

Re: Index in TClientDataSet
 
OK, also den Primary-Key (selbsthochzählenden Index) habe ich inzwischen. Aber wie bekomme ich den in einer anderen TClientDataSet bzw. TAdvanLaberSchwätz referenziert bzw. automatisch eingefügt, wenn ich da einen neuen Datensatz erzeuge ?

Grüße

Wolf


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:46 Uhr.

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