Autor Beitrag
N3tw124rd
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 75


D5 Prof.
BeitragVerfasst: Di 25.11.03 11:25 
Hi,
ich möchte eine ADOQuery benutzen um aus einer Tabelle etwas zu lesen...
dazu muss ich einen Parameter angeben das habe ich unter sybase mit der normalen query immer so gemacht...
[code]
qry.SQL.Text := 'SELECT * from beispiel where feld=:bez';
qry.ParamByName( 'bez' ).AsString := '%test%';
qry.open
[/code]
nach diesen zeilen ist dann die query gefüllt...
wie heisst das äquivalent zu ParamByName bei ADOquery ?

MFG N3tw124rd und schon mal THX
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Di 25.11.03 12:30 
Hi!

Na, das hättest du aber auch selber herausfinden können. Ich sage nur Delphi-Hilfe...

ausblenden Quelltext
1:
AdoQuery1.Parameters.ParamByName()					


Cu, :)
Udontknow
N3tw124rd Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 75


D5 Prof.
BeitragVerfasst: Di 25.11.03 13:07 
sry...
seit ich das forum kenne bin ich etwas faul geworden ....
sry :(
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Di 25.11.03 13:46 
PSST! Nicht so laut! Pit liest mit! :mahn: :mrgreen:

Cu,
Udontknow