Search found 193 matches

by btrewern
20.12.2005, 10:03
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Related Datasets loose place when enter Edit state.
Replies: 1
Views: 546

Sorry got carried away last night. The above messes lots of other things up. I'll look at this again and see if I can come up with something else.

Ben
by btrewern
20.12.2005, 01:39
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Related Datasets loose place when enter Edit state.
Replies: 1
Views: 546

Related Datasets loose place when enter Edit state.

If you have a Master->Detail relationship using the Datasource property, when the master Dataset is put into Edit mode the detail dataset looses it's place. I've had a look at the source and hopefully the attached fixes this problem. See the TZAbstractRODataset.RefreshParams procedure. Regards, Ben
by btrewern
20.12.2005, 01:07
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Postgres Domains don't work
Replies: 2
Views: 616

Attached is (hopefully) a fix based on 6.1.5 code. See the GetTypeNameByOid function. I've made some small changes so that Domain types are recognised.

Regards,

Ben
by btrewern
20.12.2005, 00:53
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Postgres Domains don't work
Replies: 2
Views: 616

I've been looking through the code and it seems that I can get my head round it. I'll look at creating a patch for this in the next couple of days (When I get the time).

Ben
by btrewern
19.12.2005, 22:46
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Postgres Domains don't work
Replies: 2
Views: 616

Postgres Domains don't work

I have an application which uses Postgresql 8.0.3 as the backend. I have been using ZeosDbo 6.1.5 but thought I'd try install '6.5.1 alpha CVS as of 13/10/2005' version of ZeosLib. Now when I try to connect one of the datasets I get 'Type mismatch for field 'location', expecting: String actual: Unkn...
by btrewern
11.12.2005, 18:14
Forum: 6.1.5
Topic: Memory leak? or am I doing something wrong?
Replies: 18
Views: 7178

Were you using one ZConnection component between more than one thread? I don't think that would be safe. I've used zeos within a threaded application now for some time but always used a seperate ZConnection for each thread. Or you could use a single, or pool of connections and seralize the database ...
by btrewern
07.12.2005, 23:57
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: SmartOpen
Replies: 5
Views: 1723

Don't see the option! What version of Zeos are you using?

Ben
by btrewern
07.12.2005, 23:37
Forum: 6.1.5
Topic: Memory leak? or am I doing something wrong?
Replies: 18
Views: 7178

Does the following fix the problem? procedure TForm1.Timer1Timer(Sender: TObject); begin [b]Timer1.Enabled := False;[/b] try try if not ZConnection1.Connected then ZConnection1.Connect; ZQuery1.SQL.text := edit1.text; ZQuery1.Open; ZQuery1.first; if ZQuery1.Eof then caption := 'empty' else caption :...
by btrewern
07.12.2005, 23:33
Forum: 6.1.5
Topic: ZConnection and Login prompt property
Replies: 2
Views: 1186

Putting DBLogDlg in the Uses clause of the unit with the TZConnection component seems to work here.

Ben
by btrewern
07.12.2005, 23:19
Forum: 6.1.5
Topic: Memory leak? or am I doing something wrong?
Replies: 18
Views: 7178

I've just tried your app using Delphi 7 with ZeosLib 6.1.5 (and all the patches) and using FastMM4, and haven't found any problems. Have you applied the patches on the Sourceforge site? I think you may have a problem with your installation. I did use Zeos 6.1.5 with Delphi 4 and didn't have any prob...
by btrewern
10.10.2005, 15:13
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Delphi 5 standard
Replies: 7
Views: 1882

I think DateUtils.dcu is a new unit in Delphi 6. Having this dependency limits Zeos to versions newer than this for no good reason that I can see.

One of the developers should have a look at this.

Ben
by btrewern
06.10.2005, 19:24
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Publicise this site on Sourceforge
Replies: 0
Views: 838

Publicise this site on Sourceforge

Would it be worth putting a news item or something on the Sourceforge site regarding this forum. The last thing on there about zeos is a news item dated 24 March 2005 saying the previous homepage is dead. This IMHO is not a very good advertisement. I am a long-time user of Zeoslib since the 5.x days...
by btrewern
06.10.2005, 19:13
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Protocol x libpq.dll
Replies: 10
Views: 3662

IIRC the use of POSTGRESQL_STRICT_DLL_LOADING was to stop people using the default libpq.dll which is installed by other programs. This was the cause of many errors in Zeos. I think you would be better off selecting the postgresql-7.4 protocol and sticking with the libpq74.dll supplied with zeos. Th...