?? sure it never changes, your code doesn't change the param, you have to set it eg with Query.ParamByName(TableNameColName).Value:= 'xy';
And i don't know an example where the sql
"select field from table where 'xy';" will makes sense.
Still unclear.
Search found 136 matches
- 19.07.2006, 00:07
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Ado protocol = TZQuery problem rev 82.
- Replies: 27
- Views: 6951
- 18.07.2006, 23:56
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: maximum opened curors exceeded
- Replies: 3
- Views: 1046
Hmm we had someone with same problem. As far as i remember it was working for him. Maybe ask him at thread http://zeos.firmos.at/viewtopic.php?t=6 ... ght=cursor
- 18.07.2006, 23:51
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: autoinc fields
- Replies: 4
- Views: 1624
- 18.07.2006, 23:47
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Ado protocol = TZQuery problem rev 82.
- Replies: 27
- Views: 6951
- 18.07.2006, 23:43
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ZeosLib thread safety
- Replies: 13
- Views: 3647
- 17.07.2006, 07:48
- Forum: Announcements
- Topic: MySQL Lifecycle Calendar
- Replies: 1
- Views: 6006
- 15.07.2006, 09:46
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: How can I obtain value set in triggers?
- Replies: 2
- Views: 523
- 15.07.2006, 09:31
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Howto get generated id/int best ?
- Replies: 8
- Views: 3372
- 15.07.2006, 09:22
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Get auto-numbered primary key on insert?
- Replies: 2
- Views: 772
- 14.07.2006, 15:00
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: timeouts query/connection
- Replies: 2
- Views: 685
- 14.07.2006, 13:19
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: timeouts query/connection
- Replies: 2
- Views: 685
timeouts query/connection
Howto Set/Get Query and Connection Timeouts in Zeos?
Tx for help.
Tx for help.
- 13.07.2006, 15:39
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Maximum open cursors exceeded
- Replies: 5
- Views: 1166
Ahh, this already is applied in testing branch. Will be officical with next release also.
http://users.telenet.be/mdaems
http://users.telenet.be/mdaems
- 13.07.2006, 15:35
- Forum: MySQL
- Topic: Tablename as parameter
- Replies: 6
- Views: 1945
- 13.07.2006, 15:18
- Forum: MySQL
- Topic: Tablename as parameter
- Replies: 6
- Views: 1945
Try:
Code: Select all
with ZReadOnlyQuery2 do
begin
sql.Clear;
sql.add('Select');
sql.add('IFNULL(');
sql.add('(Select Ergebnis');
sql.add('from :LTABLE');
sql.add('where Probennr=106010050');
sql.add('and Parameternr =19),'') Parameter');
ParamByName('LTABLE').asstring:='l06_parameter';
open;
end;
- 13.07.2006, 12:52
- Forum: MySQL
- Topic: Tablename as parameter
- Replies: 6
- Views: 1945