Search found 193 matches

by btrewern
03.01.2007, 11:54
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Noob : Retrieve FieldNames
Replies: 8
Views: 1895

If you are using a ZTable then: var i: Integer; begin for i := 0 to Ztable1.FieldCount - 1 do begin ...... Do stuff here with your fields ........ ...... ZTable1.Fields .FieldName ...... end; end; Hope this helps. BTW ZeosLib works in a very similar way to other TDataset descendents. If you look in ...
by btrewern
30.11.2006, 11:32
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZEOSDBO-6.6.0-beta BDS2006 install problem
Replies: 43
Views: 20233

Errors relating to "Entry Point Not Found" are almost always fixed by removing duplicate files. It looks like you have an old copy of ZPlain.bpl somewhere in your path.

Regards,

Ben
by btrewern
28.11.2006, 15:05
Forum: PostgreSQL
Topic: Locale number formatting
Replies: 4
Views: 1924

Try adding a ZSQLMonitor to your application and logging your queries. It may be that zeos adds something before your query runs.

Regards,

Ben
by btrewern
24.11.2006, 11:11
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problems with Protocol postgresql-8
Replies: 4
Views: 1429

Hi garoto_burns,

I'm almost certain it is a library problem. When you choose between postgresql-7 and postgresql-8 you'll change which dll you use, which in turn then rely on other libraries.

Regards,

Ben
by btrewern
16.11.2006, 16:57
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problems with Protocol postgresql-8
Replies: 4
Views: 1429

I'm using libeay32.dll with a version number of 0.9.8.0 which seems to work with the libpq81.dll which comes with zeos.

You should be able to download updated versions at http://www.slproweb.com/products/Win32OpenSSL.html

Regards,

Ben
by btrewern
27.10.2006, 08:59
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZeosLib and Lazarus 0.9.18 (FPC 2.0.4)
Replies: 12
Views: 3171

Silvio,

Just for completeness, what version of Zeos are you using?

Ben
by btrewern
23.10.2006, 14:53
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: The 7z file is '404 Not Found'
Replies: 1
Views: 309

The 7z file is '404 Not Found'

The link to the 7z file gives:

Not Found

The requested URL /downloads/ZEOSDBO-6.6.0-beta.7z was not found on this server.
by btrewern
23.10.2006, 14:44
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZEOSDBO-6.6.0-beta BDS2006 install problem
Replies: 43
Views: 20233

As I understand it you need to compile the following in order:

ZCore.dpk
ZParseSql.dpk
ZPlain.dpk
ZDbc.dpk
ZComponent.dpk

then Install the following:

ZComponentDesign.dpk

You also need to add the source folder to you search path.

Regards,

Ben
by btrewern
10.09.2006, 19:28
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Rave report RvTableConnection
Replies: 2
Views: 786

Use the TRvDataSetConnection instead. Been using it for years and works very well.

Regards,

Ben
by btrewern
06.09.2006, 13:56
Forum: 6.1.5
Topic: ZComponent.bpl and designide.bpl
Replies: 10
Views: 5616

This will need documentation.

I just looked on the Testing SVN branch to see if it had been done but can't understand the xml format. Any tips?

Regards,

Ben
by btrewern
31.08.2006, 09:59
Forum: Firebird
Topic: copy mysql data to firebird
Replies: 6
Views: 2722

Sorry meant ZSQLMonitor.

Regards,

Ben
by btrewern
29.08.2006, 09:33
Forum: Firebird
Topic: copy mysql data to firebird
Replies: 6
Views: 2722

Put a ZUpdateSQL on your datamodule and log the queries you are sending. Sounds like a good start to debugging your app.

Regards,

Ben
by btrewern
17.08.2006, 14:43
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: description of a field
Replies: 3
Views: 762

Does Firebird have system tables that allows you to look up details like these? That's how I'd find this in PostgreSQL.

Regards,

Ben
by btrewern
03.08.2006, 22:15
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Table.Delete , Table.Edit / Table.Post
Replies: 2
Views: 908

First things first, all tables should have a primary key. How else should an application refer to a record in an SQL database?? In the case of a table without a primary key, for an update, ZeosLib by default produces a WHERE clause which contains all the fields of the recordset i.e.: UPDATE table1 S...
by btrewern
03.08.2006, 17:16
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Wrong field mapping - Numeric -> Float
Replies: 3
Views: 1546

I don't think Zeoslib supports BCD fields for any database. If you look in ZDbcIntfs.pas you'll see: TZSQLType = (stUnknown, stBoolean, stByte, stShort, stInteger, stLong, stFloat, stDouble, stBigDecimal, stString, stUnicodeString, stBytes, stDate, stTime, stTimestamp, stAsciiStream, stUnicodeStream...