Subject Re: [IBO] loosing records Help
Author Daniel Bertin
Thanks
I will implement this right away, and at the same time I'm reading the IBO
manual, I have to get up that learning curve quickly, since my users are
loosing records.

thanks again for your input, I will report back.
Daniel




At 09:32 AM 11/01/2002 +1100, you wrote:
>At 07:06 AM 10-01-02 -0800, you wrote:
>
> >I assign some flags, then assign the field values to variables.
> >then insert a new record and assign it's field with the variables and post.
> >I think this is where i'm not posting correctly.
> >
> >but you mention a IBOdatabase component, I don't have one in my datamodule
> >, can that be a problem, how do connect/use a IBOdatabase and i have a
> >transaction component , or is the default transaction ok, and how should I
> >use it?
>
>If you are using a transaction component on its own, and ignoring it, then
>your work is never being committed, since its Autocommit setting defaults
>to False.
>
>USE A TIBODATABASE PLEASE. (You *can* add extra transactions to it later,
>when you understand better how transactions work...)
>
>This is the equivalent of the TDatabase in the Delphi VCL. It is a
>connection with one embedded transaction. Its default Autocommit setting
>is True.
>
>Set it up as follows:
>
>Path - the local path on the server machine where the database resides,
>e.g. c:\databases\DansDB.gdb
>
>Protocol - cpTCP_IP (or cpLocal if you are using local interbase)
>
>Server - name of your server
>
>After that, go up to DatabaseName and enter a short, friendly name in
>place of the full path that currently appears there, e.g. DansDB or
>whatever you like.
>
>Now, go to each data access object in turn and
>
>1. select this name for their DatabaseName property.
>2. replace their IB_Transaction setting with <default>.
>3. replace their IB_Connection setting with <default> if it is not already
>
>4. If you have a IB_Connection in your datamodule, comment out any of its
>code handlers and remove it.
>
>(You will want this code on the equivalent handlers for your database object).
>
>Next, search your handler code for any references to your current
>transaction and comment them out. (Leave the transaction there for now,
>it won't eat anything).
>
>IBOTransaction has most of the properties and methods of the
>TIB_Connection and TIB_Transaction classes so consult their documentation
>for the detailed help if you don't find it under TIBODatabase.
>
>
> >this application was a conversion from a progress DB,BDE to IBO and IB/FB
> >and I not to familiar with the workings of IBO(obviously,but learning)
> >can I still insert IBODatabase and connect in the datamodule?
>
>Yes, if you are using a datamodule, that's the right place for it to be.
>
>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
>
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
><http://rd.yahoo.com/M=215002.1818248.3328688.1261774/D=egroupweb/S=1705007183:HM/A=847665/R=0/*http://ads.x10.com/?bHlhaG9vbW9uc3RlcjcuZGF0=1010702065%3eM=215002.1818248.3328688.1261774/D=egroupweb/S=1705007183:HM/A=847665/R=1>672e07f.jpg
>672e0d9.jpg
>
>___________________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
>___________________________________________________________________________
><http://www.ibobjects.com>http://www.ibobjects.com - your IBO community
>resource for Tech Info papers,
>keyword-searchable FAQ, community code contributions and more !
>
>Your use of Yahoo! Groups is subject to the
><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.


[Non-text portions of this message have been removed]