Autor Beitrag
Amiga-Fan
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 534



BeitragVerfasst: Mo 14.11.05 10:47 
vor kuzem hatte in der Delphi-Praxis jemand das gleiche Problem, allerdings mit Paradox. Ich setze Firebird ein. Bei ihm soll es mit like gehen, aber bei Firebird tut es das nicht, er zeigt dann an "conversion error". OnFilterRecord zu benutzen geht nicht, weil das Blob-Feld nicht in der Ergebnismenge steht (ich brauche nur die ID des Datensatzes).

muß doch vorgesehen sein, textblobs zu durchsuchen? Übrigens bitte keine Belehrungen, ich solle stattdessen begrenzte Textfelder nehmen...

_________________
- Leg dich nie mit einem Berufsprogrammierer an
- Wahre Profis akzeptieren keine einfachen Lösungen
bnessler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 36

alle Win's , suse u. Ubuntu Linux
Delphi1,2,4,5,7,2005, Java (Eclipse), C++,C#, (VS2005)
BeitragVerfasst: Mo 14.11.05 11:28 
bei mir funktionierts mit einer TSQLQuery z.B. so:

ausblenden Delphi-Quelltext
1:
datamodule1.SQLQuery1.SQL.Text :='select id from test where TextB Like '%fahrrad%' Order by Datum';					



Gruß
Bernhard
Amiga-Fan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 534



BeitragVerfasst: Mo 14.11.05 11:35 
hm aber bei mir ging das nicht. Vielleicht weil ich ein upper darauf angewandt habe??
also upper(feld) like '%soundso%'

_________________
- Leg dich nie mit einem Berufsprogrammierer an
- Wahre Profis akzeptieren keine einfachen Lösungen
bnessler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 36

alle Win's , suse u. Ubuntu Linux
Delphi1,2,4,5,7,2005, Java (Eclipse), C++,C#, (VS2005)
BeitragVerfasst: Mo 14.11.05 13:34 
Genau darum.

Gruß
Bernhard