Help Update 3 is published
CodeGear have published the Help Update 3. You can download the Help Update with Check for Update function from your RadStudio/Delphi and dircet over the dowload page from CodeGear LINK.
Daniel Magin
April 29, 2008 Posted by dmagin | Embarcadero (CodeGear) stuff | | No Comments Yet
How to create a two phase commit with Delphi and InterBase
This week i was given a 2h webinar over Understanding Transactions with InterBase and Delphi ( a playback you can find here LINK ).
One open Question was how to create a two phase commit with IBX in Delphi.
Follow these steps and you have created your first two phase commit application:
- Create a new Delphi Project
- Place for (minimum) 2 InterBases Databases a TIBDataBase Component
- Edit the connection String from the TIBDataBase Components to connect diffrent databases
- for example
- database1 ->127.0.0.1:c:\data\employee_1.ib
- database2 ->127.0.0.1:c:\data\employee_2.ib - Place 5 Buttons with following Captions
- add database
- start transaction
- run queries
- commit transaction
- rollback tranaction - Add ONE TIBTransaction component
- Place two TIBQuery Components (you can use later also TIBDataSet for showing data in a gird or what ever)
- edit the SQL Property of each TIBQueryComponent
- update table1 set Field1=’Ernie’ where ID=1
- update table2 set Field1=’Bert’ where ID2
table1 is in this example a table in DataBase1 and
table2 is in this example a table in DataBase2 - set of IBQuery1 properties:
- DataBase -> IBDataBase1
- Transaction -> IBTransaction1 - set of IBQuery2 properties:
- DataBase -> IBDataBase2
- Transaction -> IBTransaction1 - insert this code in the button with the caption “Add DataBase”
IBTransaction1.AddDatabase(IBDatabase1);
IBTransaction1.AddDatabase(IBDatabase2); - insert this code in the button with the caption “start transaction”
IBTransaction1.StartTransaction; - insert this code in the button with the caption “run queries”
IBQuery1.ExecSQL;
IBQuery2.ExecSQL; - insert this code in the button with the caption “commit transaction”
IBTransaction1.Commit; - insert this code in the button with the caption “rollback transaction”
IBTransaction1.Rollback; - in the form event on create open both databases and also on close do not forget to close the databses
- Compile
- Run and have fun
end;
that’s all folks
regards daniel
April 25, 2008 Posted by dmagin | Embarcadero (CodeGear) stuff | | 1 Comment
Understanding InterBase Transactions
Join a free Webinar “Understanding InterBase Transactions”
In this session you learn the Transaction Handling with InterBase. Also some live demos with Delphi (you can use all techniques in other languages also) how to work in a perfect was between Client Applications and InterBase Server without having deadlocks, performance Problems, …
You can find more informations at: http://borland.interwise.com/borland/iClass/LE8726/
April 22, 2008 Posted by dmagin | Embarcadero (CodeGear) stuff, movies | | No Comments Yet
German Delphi Days 2008 announced

The German Delphi Days 2008 are announced. Many speakers (incl. me
) are talking over the new stuff around the delphi world.
More informations at this link:
http://www.delphi-tage.de/veranstaltung/agenda.html
April 22, 2008 Posted by dmagin | Embarcadero (CodeGear) stuff | | No Comments Yet
Writing UDF for InterBase with Delphi
Tomorrow Monday the 21. April 2008 i give a free webcast for codegear with the topic:
Feel free to join: http://borland.interwise.com/borland/iClass/QU8871/
10:00 (GMT)
11:00 (CET)
Writing UDF for InterBase with Delphi
Learn how to write InterBase User Defined Functions. You can expand your InterBase Server with new functions. This live demo show you the basics and a example to work with GIS Geo GPS Data like „select distance(„NewYork“) from tbl_cities“
regards
daniel
April 20, 2008 Posted by dmagin | Embarcadero (CodeGear) stuff, movies | | No Comments Yet
Daniel Magin: A huge thank you to Bruno Fierens and TMS Software!
I use TMS Components many times in Delphi Projects. Also as a big European Distributor for CodeGear Products many developers order TMS Components for easy development to produce rich Applications in GUI and Businesslogic. A big benefit for our customers and me is the great support for many years of the controls and also enhancing the components for the different Delphi Versions. TMS and Bruno is also for me number one choice for VCL and VCL.net components, cause Bruno and his team is absolute one of the uninterrupted components creator for the VCL for many years! We also have done roadshows with Bruno and also included his man power in customer projects to enhance his components with our wishes.
For me and many customers is the combination between functionality, support and continuous upgrades for Delphi one of the important points.
Due to recent blog postings about TMS Software and their Ribbon Toolbar Component set I do feel the need to state a few things about a fellow CodeGear Technology Partner.
Most members of the community have been doing business with TMS Software for over 10 years and the experience has been nothing like one could guess from the already mentioned postings. I would like to post about these experiences that I had. Maybe those descriptions will erase the other blog posts from your mind – as the internet is relentless and all “information” will stay for a long time to come as it seems and it is really bad for somebody to get a bad review and no word from the happy customers.
Thank you Bruno!
Daniel Magin
CTO better office
http://www.better-office.com
April 11, 2008 Posted by dmagin | Embarcadero (CodeGear) stuff | | No Comments Yet
Member
DelphiLive! 2009
Blogroll
-
Blog Stats
- 45,816 hits
Login
Member of
DelphiExperts Feed- DelphiExperts Power Workshop Berlin
- DelphiExperts Power Workshop Stuttgart
- ASP.NET mit Delphi Prism
- Einführung in die professionelle Softwareentwicklung unter .NET mit Delphi Prism
- Entwicklung von Webanwendungen mit der VCL für das Web/IntraWeb
- Delphi 2010 – Was ist neu? Ein Intensiv-Workshop
- DelphiExperts Day – Delphi 2010 Dortmund
- DelphiExperts Day – Delphi 2010 Hannover
- DelphiExperts Roadshow – Düsseldorf
Delphifeeds- Google Wave is a software development platform November 27, 2009
- Display a LogIn Dialog Before the Main Form of a Delphi Application is Created November 27, 2009
- My First Compilation of Midas.dll November 26, 2009
- Random Thoughts on the Passing Scene #135 November 26, 2009
- The road to Delphi 2009 - Part 1 (iv) November 26, 2009
- Return of the JEDI November 26, 2009
- How to Implement the OnCreate event for a Delphi TFrame object November 26, 2009
- The PDA Today November 25, 2009
- Delphi Tour stops in Sacramento and Los Angeles November 25, 2009
- Happy Thanksgiving (U.S.A) and time for analysis for the Survey November 25, 2009
- eHandbooks Discount Code November 25, 2009
- Using Delphi "Unit Aliases" to aid in unit testing November 24, 2009
- Debugging Direct2D November 24, 2009
- On the road! Atlanta and Miami November 24, 2009
- Touch Demo November 24, 2009
Pages
Archives
-
Archives
- November 2009 (4)
- October 2009 (3)
- August 2009 (5)
- July 2009 (9)
- June 2009 (2)
- May 2009 (10)
- April 2009 (2)
- March 2009 (4)
- February 2009 (4)
- January 2009 (3)
- October 2008 (2)
- August 2008 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS

