Search found 26 matches
- 01.04.2006, 20:50
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Cannot update temporary tables
- Replies: 25
- Views: 10080
- 31.03.2006, 19:28
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Cannot update temporary tables
- Replies: 25
- Views: 10080
Hi there, ok, my code is as follows, a little bit simplified: ZQuery2.Close; ZQuery2.SQL.Clear; ZQuery2.SQL.Add( 'SELECT * FROM ' + ActualTable ); ZQuery2.SQL.Add( 'WHERE ' + trim(Memo3.Text) ); ZQuery2.SQL.Add('LIMIT ' + intToStr(mainform.UpDownLimitStart.Position) + ', ' + intToStr(mainform.UpDown...
- 30.03.2006, 21:19
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Cannot update temporary tables
- Replies: 25
- Views: 10080
- 16.03.2006, 20:28
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Error while posting updates
- Replies: 2
- Views: 1137
- 09.03.2006, 11:44
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: How to avoid "cannot update this query type" ?
- Replies: 14
- Views: 3277
- 03.03.2006, 21:17
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: How to avoid "cannot update this query type" ?
- Replies: 14
- Views: 3277
- 02.03.2006, 19:39
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: How to avoid "cannot update this query type" ?
- Replies: 14
- Views: 3277
How to avoid "cannot update this query type" ?
- DBMS: MySQL - ZQuery.SQL is "select * from mytable limit 0,10" When I do a ZQuery.Post through a TDBGrid and a TDatasource I get the error "cannot update this query type". I thought this error only raises when doing queries with joins or some aggregate-functions in it?? Regards...
- 01.03.2006, 21:05
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ZDbcMySQLMetadata.pas makes problems: "SHOW TABLES FROM
- Replies: 1
- Views: 511
- 01.03.2006, 18:12
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ZDbcMySQLMetadata.pas makes problems: "SHOW TABLES FROM
- Replies: 1
- Views: 511
ZDbcMySQLMetadata.pas makes problems: "SHOW TABLES FROM
Hi again, I have a ZConnection connected to a MySQL-Server and a ZQuery. To switch to another Database I execute a simple "use dbname". So far, so easy. When I query a table with "select * from table1 limit 0,10", the application throws an exception with "SQL Error: You have...
- 28.02.2006, 08:36
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Switch Database with ZConnection.Database
- Replies: 2
- Views: 817
easyy....
Ok, thanks a lot. That was too easy ![Smile :)](./images/smilies/icon_smile.gif)
I always thought, setting the database-property would automatically do a "USE dbname" ...
Greetings,
Anse
![Smile :)](./images/smilies/icon_smile.gif)
I always thought, setting the database-property would automatically do a "USE dbname" ...
Greetings,
Anse
- 27.02.2006, 21:44
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Switch Database with ZConnection.Database
- Replies: 2
- Views: 817
Switch Database with ZConnection.Database
Hello, I have a ZConnection1 and a ZQuery1 but I can only define the Database once. ZConnection1.Database := 'test1'; ZQuery1.SQL.Add('SELECT * FROM table1'); ZQuery1.Open(); // This runs as expected! ZQuery1.Close(); ZConnection1.Database := 'test2'; ZQuery1.SQL.Clear; ZQuery1.SQL.Add('SELECT * FRO...