Search found 27 matches

by kerino
30.11.2009, 11:04
Forum: ZeosLib 7.0 Beta Forum
Topic: Unit ZAbstractRODDataset compiled with a different version
Replies: 5
Views: 623

OK - don't worry. I loaded REV Testing 725 and that seems to work OK.
Thanks - Kerin
by kerino
29.11.2009, 16:11
Forum: ZeosLib 7.0 Beta Forum
Topic: Unit ZAbstractRODDataset compiled with a different version
Replies: 5
Views: 623

Thanks Seawolf. In the light of your comments, I thought I would start again from scratch. I deleted everything related to Zeos, and downloaded Trunk Rev 726. I cannot find any documentation on how to install it to D2010 on WinXP, so I loaded I:\Zeos\packages\delphi14\ZeosDbo.groupproj and tried to ...
by kerino
28.11.2009, 18:11
Forum: ZeosLib 7.0 Beta Forum
Topic: Unit ZAbstractRODDataset compiled with a different version
Replies: 5
Views: 623

Unit ZAbstractRODDataset compiled with a different version

I'm using Zeoslib 7.0.0 dev. with Delphi 2010. on WinXP. I was happily compiling and running my program OK, when I clicked on Build Project instead of compile. I then got the error "Unit ZAbstractRODDataset compiled with a different version of ZExpression.IZExpression" and it won't go away...
by kerino
13.11.2009, 21:14
Forum: 6.6 - stable
Topic: How to POST_EVENT
Replies: 4
Views: 1954

Thanks seawolf, and sorry for the delay in responding. There was actually a ; in the last END (typo) I tried putting in the SET TERM lines, but I got an error Unknown token - line 1 column 5 TERM, error code -104 Seems to work better without them. I checked with Firebird Maestro, and the procedure i...
by kerino
10.11.2009, 11:18
Forum: 6.6 - stable
Topic: How to POST_EVENT
Replies: 4
Views: 1954

Thank you very much seawolf. Very helpful. I am now creating a stored procedure as follows:- with ZQuery1 do begin SQL.Text := 'CREATE PROCEDURE MY_REFRESH'; SQL.Add('AS BEGIN'); SQL.Add('POST_EVENT ''my_event'';'); SQL.Add('END'); ExecSQL; end; I then drop a StoredProc component on the form, set th...
by kerino
09.11.2009, 17:24
Forum: 6.6 - stable
Topic: How to POST_EVENT
Replies: 4
Views: 1954

How to POST_EVENT

Hi, Using Delphi 5, Firebird 2.1, and ZEOSLib 6.6.5 I've been trying to use POST_EVENT, which I thought would be straightforward - so I tried ZQuery1.SQL.Text := 'POST_EVENT ''my_event'''; ZQuery1.ExecSQL; I get the Dynamic SQL error message, invalid token line 1 column 1. This is saying the POST_EV...
by kerino
26.10.2009, 13:40
Forum: ZeosLib 7.0 Beta Forum
Topic: Compile error Zeos V713 and Delphi 2010
Replies: 3
Views: 856

Thanks very much for the tip. I had already deleted the Borland folder, but I then looked in the registry and found lots of references to Delphi5 which I removed, and I can now compile OK :D One curious thing is that I had to add a path to the $(BDSCOMMONDIR)\Bpl folder, because the compiled dcu fil...
by kerino
21.10.2009, 17:50
Forum: ZeosLib 7.0 Beta Forum
Topic: Compile error Zeos V713 and Delphi 2010
Replies: 3
Views: 856

Compile error Zeos V713 and Delphi 2010

Hi, I've just upgraded from Delphi 5 to Delphi 2010 (on WinXP), and have downloaded the zeos 713 snapshot, which am trying to compile. I can compile the ZCore.dpk and ZPlain.dpk OK, but the ZParsSQL and ZDBC both give errors:- Undeclared identifier "ttTime", "ttDate" and "tt...
by kerino
14.10.2009, 14:31
Forum: Firebird
Topic: Remote connection problem
Replies: 3
Views: 803

Thanks Mark - that is better.
by kerino
07.10.2009, 09:02
Forum: Firebird
Topic: Remote connection problem
Replies: 3
Views: 803

I have found the answer.
I have to use the local path name on the remote PC instead of the remote name i.e. C:\roes\ljm.fdb.
Thanks for looking
Kerin
by kerino
06.10.2009, 13:10
Forum: Firebird
Topic: Remote connection problem
Replies: 3
Views: 803

Remote connection problem

Hi, I've been trying for a week now to access a Firebird DB over a LAN without any success. I'm running Delphi5 Pro and Zeos 6.6.5. Once PC is running XP and the other WIN2000. I have established that the 2 PC's can ping each other, and that port 3050 is not blocked. Both PC's are running Firebird 2...
by kerino
13.08.2008, 11:02
Forum: Firebird
Topic: Data dilemma
Replies: 4
Views: 762

Thank you for the advice. I will implement your trigger idea.
by kerino
11.08.2008, 11:10
Forum: Firebird
Topic: Data dilemma
Replies: 4
Views: 762

Thanks for clarifying FK vs PK for me.

Does this mean there is no way to implement referential integrity between the two tables?

Kerin
by kerino
11.08.2008, 11:06
Forum: Firebird
Topic: How to check if constraint exists before adding
Replies: 2
Views: 1274

Thanks Mark, I am currently querying the RDB$REF_CONSTRAINTS table for the RDB$CONSTRAINT_NAME tosee if it exists. I just thought there might be a more elegant way to do it in one SQL statement (using IF EXISTS or something). Anyway, what I have seems to work, although it's not ideal. I haven't used...
by kerino
10.08.2008, 17:36
Forum: Firebird
Topic: Data dilemma
Replies: 4
Views: 762

Data dilemma

Me again, I have a table of items (ITM), and each item has a price code e.g. PK...Item.....Price_Code 1.....IT2.......PC1 2.....IT32.....PC3 3.....IT9.......PC1 The price codes are held in another table (PCD), but the price per item can vary depending on the quantity e.g. PK....Price_Code.....Qnty.....