Subject Re: [IBO] Digest Number 877
Author John Hart
--- IBObjects@yahoogroups.com wrote:
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity
> to Firebird or InterBase
> without the need for BDE, ODBC or any
> other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community
> resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions
> and more !
>
------------------------------------------------------------------------
>
> There are 18 messages in this issue.
>
> Topics in this digest:
>
> 1. RE: Trouble in catching Post error
> From: "Riho-Rene Ellermaa"
> <r.ellermaa@...>
> 2. RE: Trouble in catching Post error
> From: "Helen Borrie (TeamIBO)"
> <helebor@...>
> 3. Re: Clientdataset
> From: "Helen Borrie (TeamIBO)"
> <helebor@...>
> 4. RE: TIB_Script-2
> From: <akahanek@...>
> 5. AfterPost()
> From: "Riho-Rene Ellermaa"
> <r.ellermaa@...>
> 6. Re: Clientdataset
> From: "Rohit Gupta" <r.gupta@...>
> 7. Re: TIB_Script-2
> From: "Salvatore Besso"
> <s.besso@...>
> 8. Re: TIB_Script-2
> From: Nando Dessena
> <nandod@...>
> 9. Repost: No current record for fetch
> operation with join upon SP
> From: "mmenaz" <mmenaz@...>
> 10. Re: Repost: No current record for fetch
> operation with join upon SP
> From: Lele Gaifax <lele@...>
> 11. Re: Repost: No current record for fetch
> operation with join upon SP
> From: "mmenaz" <mmenaz@...>
> 12. Re: Repost: No current record for fetch
> operation with join upon SP
> From: Lele Gaifax <lele@...>
> 13. tib_grid performance
> From: "stanw1950" <stanw@...>
> 14. Re: TIB_Script-2
> From: "Salvatore Besso"
> <s.besso@...>
> 15. Re: Clientdataset
> From: "Sandeep" <sandeep@...>
> 16. Cannot find GDS32.dll problem
> From: "jimretired_1999"
> <jimmaguire@...>
> 17. Re: IBO report writer
> From: "Ricardo Costa (Agenda Digital
> Ltda)" <odontotk@...>
> 18. Re: Cannot find GDS32.dll problem
> From: Daniel Rail <drail@...>
>
>
>
________________________________________________________________________
>
________________________________________________________________________
>
> Message: 1
> Date: Thu, 21 Feb 2002 10:51:19 +0200
> From: "Riho-Rene Ellermaa" <r.ellermaa@...>
> Subject: RE: Trouble in catching Post error
>
> They were not called (I had breakpoint in the first
> line of OnPostError eventhandler). I haven't done
> anything fancy - just created query and added
> OnPostError event to it.
> Maybe "missing necessary fields" doesn't qualify as
> Post error?
>
>
> Riho-Rene Ellermaa
> senior programmer
> Hansabank
>
>
> Were they "not called" or were they handled
> elsewhere because your code didn't catch the exact
> exception that occurred? What does your handler do
> with the EIB_Error that is passed to the event? Did
> you declare your own EIB_Error classes to handle the
> specific exceptions that might have occurred?
>
> btw, you don't need those specific On..Error
> handlers - they are there for VCL compatibility -
> you can do much more centralised error handling at
> the connection level in IBO. There's good argument
> for not dispersing error handlers all over the
> place. They are more easily maintained and, if you
> organise them neatly, you can make it easy for
> yourself and your peer reviewers to test your
> error-handling "stack" (what happens next, if an
> exception is passed up to the next level in the
> exception hierarchy?) It makes the opportunities to
> make generic handlers much more obvious, too...
>
>
>
>
> [Non-text portions of this message have been
> removed]
>
>
>
>
________________________________________________________________________
>
________________________________________________________________________
>
> Message: 2
> Date: Thu, 21 Feb 2002 20:47:13 +1100
> From: "Helen Borrie (TeamIBO)"
> <helebor@...>
> Subject: RE: Trouble in catching Post error
>
> At 10:51 AM 21-02-02 +0200, Riho-Rene Ellermaa
> wrote:
> >They were not called (I had breakpoint in the first
> line of OnPostError eventhandler). I haven't done
> anything fancy - just created query and added
> OnPostError event to it.
> >Maybe "missing necessary fields" doesn't qualify as
> Post error?
>
> For "Post error" read "Prepare or Commit error".
> So, if your database had no triggers or CHECK
> constraints on those fields, there would be no
> error.
>
> If you want to do client-side validation, place code
> in the BeforePost event. You can raise a Delphi
> exception there and prevent the Post call
> altogether.
>
> regards,
> Helen
>
>
> regards,
> Helen Borrie (TeamIBO Support)
>
> ** Please don't email your support questions
> privately **
> Ask on the list and everyone benefits
> Don't forget the IB Objects online FAQ - link from
> any page at www.ibobjects.com
>
>
>
>
________________________________________________________________________
>
________________________________________________________________________
>
> Message: 3
> Date: Thu, 21 Feb 2002 20:57:23 +1100
> From: "Helen Borrie (TeamIBO)"
> <helebor@...>
> Subject: Re: Clientdataset
>
> At 08:49 AM 21-02-02 +1300, you wrote:
> >TClientDataset that comes with delphi doesn't
> supports largeints
> >properly. Will there be a IBO version of
> TClientDataset which
> >supports it properly?
>
> Since TClientDataset is designed to isolate sets of
> data from the server, it seems pretty unlikely that
> IBO would have any use for a TClientDataset
> workalike.
>
> Do you know why (or in what way) TClientDataset
> fails with largeints? I haven't inspected its
> source, but do you have the option to inherit a
> custom component that does what you want
> TClientDataset to do?
>
> You might like to look at what Borland have done in
> the Delphi6 Upgrade 2, to see if any of the bugfixes
> there solve it for you:
>
http://community.borland.com/article/0,1410,28405,00.html
>
> regards,
> Helen
>
>
> regards,
> Helen Borrie (TeamIBO Support)
>
> ** Please don't email your support questions
> privately **
> Ask on the list and everyone benefits
>
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com