AW: Abfrage: Ist Datensatz bereits vorhanden?
Also unter DBGrid1 stelle ich als DataSource DataSource1 ein, unter DataSource1 stelle ich SQLDataSet1 als DataSet ein und was mache in nun mit SQLDataSet1?
|
AW: Abfrage: Ist Datensatz bereits vorhanden?
Als DataSet kannst du auch Deine Table verwenden (wenn diese ein DataSet ist)
|
AW: Abfrage: Ist Datensatz bereits vorhanden?
Dann bekomme ich nur die Meldung "Ungültiger Eigenschaftswert".
mein Table ist ein TSQLiteTable. |
AW: Abfrage: Ist Datensatz bereits vorhanden?
Wenn Du eine ADOQuery verwendest kann das z.B. so aussehen:
Delphi-Quellcode:
Gruß
object Form1: TForm1
Left = 192 Top = 124 Width = 870 Height = 640 Caption = 'Form1' Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] OldCreateOrder = False PixelsPerInch = 96 TextHeight = 13 object DBGrid1: TDBGrid Left = 248 Top = 112 Width = 33 Height = 25 [B]DataSource = DataSource1[/B] TabOrder = 0 TitleFont.Charset = DEFAULT_CHARSET TitleFont.Color = clWindowText TitleFont.Height = -11 TitleFont.Name = 'MS Sans Serif' TitleFont.Style = [] end object ADOQuery1: TADOQuery ConnectionString = 'Provider=MSDASQL.1' Parameters = <> Left = 96 Top = 112 end object DataSource1: TDataSource [B]DataSet = ADOQuery1 [/B] Left = 176 Top = 112 end end K-H |
AW: Abfrage: Ist Datensatz bereits vorhanden?
Hallo, danke für die Antworten. Bin jetzt vom meinem Wrapper auf dbexpress umgestiegen ... gibt einfach mehr Einsteigerfreundliche Infos dazu.
Viele Grüße, BenneX! |
Alle Zeitangaben in WEZ +1. Es ist jetzt 19:41 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