![]() |
Datenbank: Paradox • Version: 7 • Zugriff über: TTable und TQuery
Zugriffsverletzung in Modul idsql32.dll?
Hallo ich bins nochmal
Das Problem: ich habe eine Tabelle mit 61 Feldern. jetzt mache ich eine Suchfunktion:
Delphi-Quellcode:
Wenn ich die Query jetzt active setze kommt der Fehler "Zugriffsverletzung bei Adresse XXX in Modul 'Idsql32.dll'. Lessen von Adresse YYY."
try
temp:='WHERE UPPER(CAST('+Fields.Fields[0].FieldName+' AS CHARACTER(30))) LIKE '+QuotedStr('%'+AnsiUpperCase(Searchpart)+'%'); except end; for i:= 1 to FieldCount - 1 do begin try temp:=temp+' OR UPPER(CAST('+Fields.Fields[i].FieldName+' AS CHARACTER(30))) LIKE '+QuotedStr('%'+AnsiUpperCase(Searchpart)+'%'); SQL.Add(temp); except end; end; Weis jemand an was das liegen könnte? |
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:17 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