Search found 322 matches

by zippo
18.07.2008, 08:32
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Saving/restoring a dataset to/from a file
Replies: 11
Views: 2278

Saving/restoring a dataset to/from a file

Hi!

I wonder if is there any way to save a Zeos TZQuery in any way and later restore it back. The possible ways can be a file, a stream, a comonent... etc.
by zippo
18.07.2008, 07:35
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: how to handle exception if MySQL server does not respond ?
Replies: 3
Views: 982

I usually use error string parsing. It works perfectly for my needs. except on E: Exception do begin Result:=false; KnownError:=false; if Pos('Access denied for user',E.Message)>0 then begin // Unknown user KnownError:=true; ErrMsg:='Wrong user'; end; if Pos('Can''t connect to',E.Message)>0 then beg...
by zippo
09.07.2008, 12:09
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: how convert my projects with ZmysqlDatabase old components.
Replies: 2
Views: 994

I've done it the manual way: Editing DFM files. Be aware that TZQuery.ShowRecords property will magically became empty, so you will need to restore it. Hope it's not a too big project... :)
by zippo
15.06.2008, 13:49
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZSQLProcessor problem
Replies: 3
Views: 1157

I found the error - character # is not allowed.. Thanx - your suggestion helped me a lot!
by zippo
15.06.2008, 13:26
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZSQLProcessor problem
Replies: 3
Views: 1157

Good idea.. I'll try
by zippo
15.06.2008, 00:05
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZSQLProcessor problem
Replies: 3
Views: 1157

ZSQLProcessor problem

Hi! After a long and happy living with Zeos I have a strange problem and I'm stuck here for several days, grrr.... Upon executing the Processor.Execute method I get an error. Delimiter is set to dtSetTerm. If I runt the script directly in MySQL Query browser, it works OK. I somehow can't understand ...
by zippo
24.04.2008, 19:33
Forum: Other 6.x Versions
Topic: Zeos / MySQL Posting Problem
Replies: 3
Views: 3326

You're welcome! I'm glad another problem is solved (even if you solved it by yourself, he he he)
by zippo
24.04.2008, 07:44
Forum: Other 6.x Versions
Topic: Zeos / MySQL Posting Problem
Replies: 3
Views: 3326

More options to test: - Is CachedUpdates set to true? Then set it to false. - Is ReadOnly set to true? Set it to false. - Are you updating a MySQL view instead a table? Try to open another table. - Try to add a Button on the form and write this OnClick event: Dataset.Edit; Dataset.FieldByName('FIELD...
by zippo
20.03.2008, 08:47
Forum: MySQL
Topic: Delphi 2007 and problem with MySQL's DLL
Replies: 4
Views: 1895

Try to copy it to the application path. Could still not work in design time, but in runtime it should work.
by zippo
03.03.2008, 23:38
Forum: MySQL
Topic: Field Name same as Table Name
Replies: 10
Views: 2381

Suggestion: Do not use spaces in table names. Could be a real pain in the ass in database migration (especially to a different type of server)...
by zippo
03.03.2008, 23:33
Forum: PostgreSQL
Topic: select error in Zquery
Replies: 5
Views: 1633

1. Check the DLLs
2. Is the query created at runtime? If yes, check the Connection property,.. etc.

if nothing works, post an example source + db.
by zippo
01.02.2008, 14:14
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Incidental "Can not open a resultset"
Replies: 1
Views: 1330

I have the same problem in a BDS 2006 + MySQL 5.1 application. No threads here.
by zippo
07.12.2007, 13:25
Forum: Off Topic
Topic: Developer Conference
Replies: 5
Views: 20427

:)
by zippo
05.12.2007, 08:39
Forum: Off Topic
Topic: Developer Conference
Replies: 5
Views: 20427

Sorry, to far for me too... But if I can "remote" help in any way ...
by zippo
29.11.2007, 23:25
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: How make rollback?
Replies: 8
Views: 16514

Hello to Slovenia, too.. :) BTW: When needing commit/rollback control, I usually do it directly via SQL statements, but I admin it is mainly because some bugs in Zeos 5.x .. :)