![]() |
AdoConnection.Create(nil) - Fehler
Tach zusammen,
ich weiß schon, dass diese nil hier falsch ist, aber was soll ich da richtig eingeben? Weiß jemand? |
Re: AdoConnection.Create(nil) - Fehler
Lauf OH der Owner, z.B. das DataModul oder die Form, in der du die AdoConnection erzeugen willst, also etwa
Code:
Gruß
AdoConnection1 := TAdoConnection.Create(Form1);
Mikhal |
Re: AdoConnection.Create(nil) - Fehler
Zitat:
|
Re: AdoConnection.Create(nil) - Fehler
z.b.
Delphi-Quellcode:
Oder was eigendlich immer geht:
AdoConnection1 := TAdoConnection.Create( Self );
Delphi-Quellcode:
Bye
AdoConnection1 := TAdoConnection.Create( Application.Owner );
|
Re: AdoConnection.Create(nil) - Fehler
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:49 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