Search found 164 matches

by Wild_Pointer
20.04.2010, 15:12
Forum: ZeosLib 7.0 Beta Forum
Topic: Problems with DBGrid
Replies: 9
Views: 1290

carlocat , you haven't noted what DB you are using. I guess that you don't have the order by statement in your query. Because of that when you post the changes, the record goes to the end of your result set. When testing on postgresql I get similar results but the order changes not immediately afte...
by Wild_Pointer
06.04.2010, 09:35
Forum: 6.6 - stable
Topic: Problem when Post in 6.6.2-rc ... 6.6.5-stable
Replies: 7
Views: 928

Hello haentschman,

Can you provide the table create script and the SQL query you use in TZQuery?
by Wild_Pointer
30.03.2010, 06:43
Forum: SQLite
Topic: Create Database + Table From Scratch (Programatically)
Replies: 6
Views: 2218

kwanbis,
But, how do i create a simple table, that has 1 text field...
I would recommend using ZConnection.ExecuteDirect('CREATE TABLE FOO( ....'


Good luck!
by Wild_Pointer
25.03.2010, 15:42
Forum: PostgreSQL
Topic: Using Postgresql Notify and Listen
Replies: 9
Views: 3983

Hello mdaems , I wanted to ask if there will be separate components like ZIBEventAlerter, ZPGEventAlerter, or the effort should be made to put them into single ZEventAlerter? First option is bad as it destroys the ease of protocol selection in TZConnection as there would be separate components for e...
by Wild_Pointer
20.03.2010, 12:37
Forum: PostgreSQL
Topic: Using Postgresql Notify and Listen
Replies: 9
Views: 3983

Hello, mrLion , It's nice to have someone who is willing to enrich the Zeos functionality for Postgresql. I have a question for you - how are you going to listen for event notifies? http://www.postgresql.org/docs/current/interactive/sql-listen.html states that "With the libpq library, the appli...
by Wild_Pointer
20.03.2010, 10:38
Forum: 6.6 - stable
Topic: MySQL --> SQLite
Replies: 3
Views: 461

Hello zippo,

You should check http://zeos.firmos.at/viewtopic.php?t=2627&highlight= . Id does not answer how to create DB for SQLite, but I think you will find the analogy.

Good luck!
by Wild_Pointer
17.03.2010, 14:44
Forum: Firebird
Topic: TZSQLProcessor
Replies: 4
Views: 1022

emils,

please try something like that:

Code: Select all

  ZConnection1.Connect;
  ZConnection1.ExecuteDirect('CREATE DATABASE jt_test;') ;
  ZConnection1.Disconnect;
It works with postgresql, so I guess it will work for firebird too.
by Wild_Pointer
04.03.2010, 07:48
Forum: 6.6 - stable
Topic: Problem when Post in 6.6.2-rc ... 6.6.5-stable
Replies: 7
Views: 928

testebelo , I think what you need is to set Field1.ReadOnly := false; or do you want the fields to become writable once you attach ZUpdateSQL to the query? haentschman , you wrote, that Query.ReadOnly is false but did you check the ReadOnly property of the fields of your query? What is your query a...
by Wild_Pointer
24.02.2010, 11:21
Forum: SQLite
Topic: TZQuery.AsDateTime property
Replies: 6
Views: 1570

Hello, peterd , This is wild guess, but what date format is used on your computer (locale). It seems that the error is related to different formats on your computer and the DB server. Try changing your locale date time formate to YYYY-MM-DD HH:NN:SS. If that helps, then it is for sure date/time conv...
by Wild_Pointer
23.02.2010, 09:04
Forum: 6.6 - stable
Topic: is it any way that i can select the database manually
Replies: 1
Views: 254

suarahati,

first of all you should have started a new topic - not post in this as your problem is not related to the "TZConnection concurrency questions" .
There is no such dialog build in Zeos to change database. You should create one yourself.
by Wild_Pointer
23.02.2010, 08:52
Forum: Firebird
Topic: Zeos for lazarus
Replies: 1
Views: 445

wahyudi,
please read this post http://zeos.firmos.at/viewtopic.php?t=2643&highlight= . It seems to be the same problem.
by Wild_Pointer
18.02.2010, 09:41
Forum: 6.6 - stable
Topic: Multiple threds accessing single TZquery object
Replies: 3
Views: 661

Hello, all from http://www.postgresql.org/docs/8.4/static/libpq-threading.html I found out, that: "One thread restriction is that no two threads attempt to manipulate the same PGconn object at the same time. In particular, you cannot issue concurrent commands from different threads through the ...
by Wild_Pointer
10.02.2010, 16:21
Forum: 6.6 - stable
Topic: inner join crash
Replies: 1
Views: 290

Gorky,

Please add SQLmonitor to your project to see what queries are being executed. That way you'll find the one responsible for your problem.
by Wild_Pointer
10.02.2010, 08:10
Forum: Firebird
Topic: multiple singletons in one select?
Replies: 6
Views: 834

hi, guidoaerts,

try SELECT table1.column, table2.column from table1, table2 where table1.id = 1 and table2.id = 2
by Wild_Pointer
06.02.2010, 17:27
Forum: ZeosLib 7.0 Beta Forum
Topic: [bug_fixed] AV when PostgreSQL server connection lost
Replies: 18
Views: 1785

mdaems , Thank you for providing the link to the bug report. Now I see why the change was introduced. The memory leak appears because on TZPostgreSQLConnection.Open the Connect structure in pqlib is created no matter if connection was successful or not. This is ok as pqlib must pass error message b...