Search found 17 matches

by kmr
25.10.2007, 10:22
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problem with TZTable ( MySQL )
Replies: 1
Views: 1068

My question is in the moment i start a new record in ( clients ), ( clients_phones ) should start a new record too or i am wrong ? Depends on the constraints you set in your create table statements. Could you post the create statements for detailed information? If there is no constraint, which I as...
by kmr
15.07.2007, 13:44
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Master/Detail where the Master-ID is an String
Replies: 1
Views: 733

I think you need the fields of at least the master-dataset in the corresponding field editor (right click on the dataset (query or table) and chose field editor,
right click in the field editor an chose add all fields)
should work

btw. Moin Moin von der Ostsee!
by kmr
19.06.2007, 22:16
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZConnection User property value
Replies: 2
Views: 934

Don't know the reason but I assume, the user property is used as some kind of default value for connecting silently and is not written back by manual login, cause this could cause some inconsistency: in case you close the connection and reconnect user and password properties could be used to connect...
by kmr
19.06.2007, 22:08
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Ztable Locate Options
Replies: 4
Views: 1179

Never heard of that (referencing to another module i.e. unit).

But go ahead, put it in the uses clause of the unit where its needed an you'll see it won't do any harm. And your program (?) will only grow a tiny little bit bigger, in case your afraid of the size of your exe.
by kmr
07.05.2007, 10:03
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: How to add quotes `` to the field name
Replies: 6
Views: 1311

Couldn't you use TZQuery instead of TZTable? You could build an SQL-statement like: SELECT ...., 'limit' [as] new_limit FROM .... WHERE ... So your field name would be new_limit instead of 'limit'. If you have to use [as] (without the [ ]) depends on the SQL dialekt. This idea is really a workaround...
by kmr
18.04.2007, 21:33
Forum: 6.1.5
Topic: DesignTime and Runtime creata component bugs?
Replies: 2
Views: 2940

ZQuery1->Connection = g_DbConn[g_DbsCap].pConn;
ZQuery1->SQL->Text = "SELECT * FROM cnpProduct";
ZQuery2->RequestLive = true;
ZQuery1->Active = true;
Is it just a copy-paste-error that ZQuery2.RequestLive is set to true instead of ZQuery1.RequestLive?
by kmr
15.12.2006, 23:40
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problem with updating and inserting MYSQL records
Replies: 3
Views: 1190

Could you be a little more precise?

Are you running the same version of MySQL on both machines? Which version(s)?

How do you insert/update records? ZQuery.Edit, Zquery.Post or manual with sql statemants (Update x set y=z where a) ?
by kmr
20.11.2006, 13:26
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Example with zeosdbo 5.4 to 6.6?
Replies: 1
Views: 729

[equote] What is the equivalent in Zeos 6.6 for zeos 5.4..........................zeos 6.6 TZMysqlDatabase............TZConnection ??? TTMysqlQuery.................TZQuery ? TZMysqlTransact...............???? TDataSource....................???? [/equote] I started Zeos with 5.5 AFAIR, so I'm quite s...
by kmr
20.11.2006, 13:18
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Installing problem ZeosDB 6.6.0 on Delphi7
Replies: 3
Views: 1229

I needed to remove all Zeos dcp and bpl files from <DELPHIPATH>\Projects\bpl to get the new (6.6) installation working. Did you try that?
by kmr
04.11.2006, 00:22
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Need some help formatting queries.
Replies: 9
Views: 1638

I tried using stuff like: ZQuery1.SQL.Text := 'SELECT COUNT(*) FROM `users` WHERE ostatus = "Offline";'; And the using .RecordCount but I always get a return value of 1 from RecordCount, without the WHERE it returns the correct number of rows. Sounds a bit strange to me too, since ZQuery1...
by kmr
03.11.2006, 13:24
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Need some help formatting queries.
Replies: 9
Views: 1638

Hi!

I experienced a similar problem some months ago. I don't know anymore exactly under which circumstances they appeared, but I solved it using the keyfield of the table instead of *. Maybe that helps.

Btw: you do not try to get the result with ZQuery1.recordcount, don't you?
by kmr
27.10.2006, 11:27
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: MySQL embedded example raises Access violation
Replies: 0
Views: 657

MySQL embedded example raises Access violation

I tried the embedded example from 6.6.0 with libmysql41d.dll and libmysql5d.dll. I always get an Access Violation on address 0000000 when trying to open the ClientDataset. Connection to the database works without an error. Everything else with the new 6.6.0 works fine. Any ideas? I forgot: I'm using...
by kmr
27.10.2006, 11:20
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Coexistence Zeos 6.1.5 and 6.6.x
Replies: 4
Views: 1191

That's true. The update is a must-have, and as fduenas said, 6.6 is quite stable right now. You may expend some time converting request live to read only property, but all other changes are, as far I know, "backward" compatible, so it's compile and run Yes, it is a must have, but it was n...
by kmr
21.08.2006, 18:50
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Insert-Problem with MS ACCESS
Replies: 6
Views: 2146

Hm, hab mir Dein Programm mal runtergeladen und auch ein neues mit 6.1.5 gebaut. Das scheint irgendwas an Deiner Access-Datenbank zu sein. Bist Du sicher, daß mit der mdb alles OK ist? Habe kein Access auf dem PC und daher versucht mit MDBPLus an die MDB zu kommen: keine Tabelle zu sehen. Ist das Ac...
by kmr
03.07.2006, 21:47
Forum: MySQL
Topic: Still need for mysql3.xx support?
Replies: 1
Views: 1201

I'm still using 3.23.xx (wth 6.1.5), but I am looking forward to the 6.5.1 becoming at least beta, so I can switch to MySQL 5 or PostgreSQL 8. If the beta and final will arrive maybe a little earlier without the 3.23.xx support it's more than fine with me to drop that feature. By the way: very speci...