Search found 14 matches

by Antz
16.08.2007, 10:40
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Error when calling the TZConnection.ExecProc method
Replies: 0
Views: 824

Error when calling the TZConnection.ExecProc method

When trying to execute the ExecProc method of a TZConnection I get the following error: "raised exception class ESQLException with message 'SQL Error: invalid statement handle. Error Code -901. Unsuccessful execution caused by system error that does not preclude successful execution of subseque...
by Antz
14.08.2007, 08:37
Forum: Firebird
Topic: Result set returns only one record
Replies: 4
Views: 2272

cipto_kh, Thanks a million. Althought I did not use the ZStoredProc you were right in the method that I used in addressing the resultset. The Last method takes me to the last entry in the returning resultset. I have kept all code the same but merely changed DbcResultSet.Last to DbcResultSet.IsLast w...
by Antz
08.08.2007, 16:35
Forum: Firebird
Topic: Result set returns only one record
Replies: 4
Views: 2272

Result set returns only one record

A very silly question and something that I have done which worked and now it seems that I am completely stumped when trying to do the same thing again. On the database I have a stored procedure (FetchRoles) which looks like this: [font=Courier New] PROCEDURE FetchRoles( UserId CHAR(10)) RETURNS( Rol...
by Antz
07.08.2007, 11:17
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: TZConnection Exception Handling
Replies: 2
Views: 1433

Thank you. Will try that and let you know the results. Again, many thanks. :)
by Antz
06.08.2007, 12:11
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: TZConnection Exception Handling
Replies: 2
Views: 1433

TZConnection Exception Handling

I am trying to raise an exception when the database property of the connection is entered incorrectly. The application uses 2 databases, a test database and a production database. When the database name is entered incorrectly I get an error message (which is correct) but I want to customize the erro...
by Antz
01.08.2007, 16:21
Forum: Firebird
Topic: Problem with insert
Replies: 14
Views: 4851

Hi Rogier21 , I have had a simpler problem and found the following to work each time: Your trigger as you have created it is not complete, complete in the sense that the ID is an integer and you should test for two conditions in the trigger: NULL and ZERO, which are not the same. So alter you condi...
by Antz
21.06.2007, 14:22
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: How to capture Return values of a stored procedure
Replies: 1
Views: 795

Okay, it took a while but I have answered the question asked myself. Don’t know if anybody else had the problem merely because no responses were received. I know one can work with a table and query but because all my stored procedures are on the server and not the application this is not an option....
by Antz
14.06.2007, 09:14
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: How to capture Return values of a stored procedure
Replies: 1
Views: 795

How to capture Return values of a stored procedure

Another very silly question (for those being experts in Delphi and SQL) but for a novice a really difficult cookie to solve. Using Zeoslib 6.6.1 and Delphi7 and will set out the problem including source extracts. But my program is this: How to have a TComboBox component populated by the values retur...
by Antz
22.05.2007, 11:11
Forum: Firebird
Topic: Firebird Users and Roles
Replies: 3
Views: 3329

Thank you so much for that, I will do that and check the results.

Again, thank you very much
by Antz
21.05.2007, 11:32
Forum: Firebird
Topic: Firebird Users and Roles
Replies: 3
Views: 3329

Firebird Users and Roles

[font=Arial]Me again, I have tried the following using the TZConnection component of ZEOSLIB 6.6.1 and this is regarding my previous post on users and roles. I will elaborate a little further to make things clearer: Database setup (example):[/font] [font=Courier New] CREATE ROLE SALESADMIN; CREATE R...
by Antz
15.05.2007, 16:25
Forum: Firebird
Topic: Firebird Users and Roles
Replies: 3
Views: 3329

Firebird Users and Roles

Hi, Just a question regarding ZEOSLIB. Currently I am using version 6.6.1 and Delphi 7 with Firebird 2.0.1. Having set up the database and defining the specific roles in the database the following question came to mind. Does ZEOS cater for connection to a Firebird database with roles? If not, is the...
by Antz
08.12.2006, 13:54
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Zeoslib Tutorial
Replies: 1
Views: 1092

Sorry for the post, was not concentrating when I went through the tutorial. Okay, the drag-and-drop works well. The execution was perfect and fast (although the dataset is small).
by Antz
07.12.2006, 13:40
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Zeoslib Tutorial
Replies: 1
Views: 1092

Zeoslib Tutorial

[font=Arial]Micheal, Firstly and foremost, thank you for the article and example that you have placed in the "Knowledge Base" section in the forum. If not for that article I would still be sitting in complete darkness, again, thank you very much. There are a couple of things that is a myst...
by Antz
06.12.2006, 16:41
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: any news re: alpha --> full release
Replies: 14
Views: 4845

BIG thank you

Thanks for the work done already, I only downloaded 6.6.0 (Beta) yesterday and will start working on it very soon (also after work) and if I do find anything weird or can do something wonderful then I will surely post it here. Again, thanks for all that you guys have done, it is more appreciate than...