Search found 93 matches

by guidoaerts
12.11.2010, 20:27
Forum: ZeosLib 7.0 Beta Forum
Topic: Error when I try to edit and save data without modification
Replies: 22
Views: 2601

well, that's a nice metafor, Mark.
Guido
by guidoaerts
08.11.2010, 20:04
Forum: Firebird
Topic: Filtering Timestamp with zeos and fb URGENT
Replies: 10
Views: 1344

i think that when you set the filter progammatically, you have to put two single quotes to represent a single quote inside the string;
(Two sequential apostrophes in a quoted string denote a single character, namely an apostrophe.)
guido
by guidoaerts
19.10.2010, 18:38
Forum: 6.1.5
Topic: How to get a single value from MySQL(executescalar in .NET)?
Replies: 2
Views: 2335

Put a TZQuery on your form, fill in the zconnection and the sql and open it.
If you add a TDatasource and TDBGrid, you see the result in designtime.
guido
by guidoaerts
19.10.2010, 17:11
Forum: MySQL
Topic: ZConnection hangs for nonexistent server
Replies: 5
Views: 2926

There are two ways to explore this:
ZConnection.Pingserver looks for the server or
in Zconnection.properties you can add 'timeout=120' (but i don't know for sure if that is the right way)...
guido
by guidoaerts
13.10.2010, 19:56
Forum: MySQL
Topic: ZConnection hangs for nonexistent server
Replies: 5
Views: 2926

maybe you find something in this thread:
http://zeos.firmos.at/viewtopic.php?t=2049
Guido
by guidoaerts
13.10.2010, 19:51
Forum: 6.6 - stable
Topic: TZUpdateSQL do not use my quoted SQL String
Replies: 3
Views: 2354

rename the parameter :Case to something else ?
Guido
by guidoaerts
13.10.2010, 19:46
Forum: 6.6 - stable
Topic: Filter property problem
Replies: 3
Views: 582

you can only filter on fields in the resultset, so add A.field3 to your select ;
or add a WHERE clause to your sql
Guido
by guidoaerts
12.10.2010, 19:17
Forum: ZeosLib 7.0 Beta Forum
Topic: Running the zeoslib test suite.
Replies: 8
Views: 1315

:D up and running! (thanks to Mark, naturally): -installed 'full' firebird (to be sure) -created an empty database for firebird, in the \packages\lazarus\build\data map -had to put the full path to this database in the test.properties file -first commented out 'rebuild=yes', and got the GUI (great!)...
by guidoaerts
27.09.2010, 15:00
Forum: ZeosLib 7.0 Beta Forum
Topic: Running the zeoslib test suite.
Replies: 8
Views: 1315

got to the next step: found \database\test.properties uncommented all mysql items put in firebird21 settings now the zeoslib.gdb cannot be found (reasonable, it isn't there) I will spend some time trying to find out where to create it, or how to modify the \database\install\install_firebird.bat. (th...
by guidoaerts
26.09.2010, 15:05
Forum: ZDBC (ZEOS Database Connectivity)
Topic: Column size - how to get in metadata
Replies: 2
Views: 1677

meta.ColumnDisplaySize

Guido
by guidoaerts
22.09.2010, 20:37
Forum: ZeosLib 7.0 Beta Forum
Topic: Zeos / Firebird Quotechar problem
Replies: 4
Views: 614

select * from table_name where field_name = 'field_value' use single quotes, and if a single quote should be incorporated in a string, it must be two consecutive single quotes (not a double qoute): 'select * from table_name where field_name = ''field_value''' double quotes are indeed used to referen...
by guidoaerts
20.09.2010, 15:18
Forum: ZeosLib 7.0 Beta Forum
Topic: Running the zeoslib test suite.
Replies: 8
Views: 1315

As I said, I downloaded snapshot ZEOSLIB_TRUNK_REV803.zip and did some carefull reading of the \documentation\fundamentals\docs. Installed wincvs and, following the Getting-started-doc, issued the command cvs –d:pserver:anonymous@cvs.sourceforge.net/cvsroot/zeoslib co zeosdbo_rework That got me an o...
by guidoaerts
20.09.2010, 14:39
Forum: 6.6 - stable
Topic: Zeos + Lazarus + Firebird - Numbers < 10 with 2 decimals
Replies: 4
Views: 877

I think you can change these properties dynamically after creating the components. var i: integer; with TZTable.create do begin Connection := 'YourZConnection'; TableName := 'YourTable'; open; for i := 0 to FieldCount-1 do begin if Fields .FieldKind = fkData then if Fields .DataType =ftFloat then TF...
by guidoaerts
17.09.2010, 19:17
Forum: 6.6 - stable
Topic: Zeos + Lazarus + Firebird - Numbers < 10 with 2 decimals
Replies: 4
Views: 877

change the displayformat property of the numeric field
for example : TFloatField.DisplayFormat := '0000.00'

Guido
by guidoaerts
17.09.2010, 19:10
Forum: ZeosLib 7.0 Beta Forum
Topic: Zeos 7 Alpha and Delphi 2009 Support - Official Thread
Replies: 97
Views: 28850

with winXP, in lazarus and with zeos6.6.5, I get all three labels showing the string.
Guido