| Hyderabad Jobs | Book Website | ![]() |
I Love Hyderabad | Hyderabad Colleges |
| Home | Business Emails | Hyderabad Classifieds | Contact Us | |
| 7 Wonders of Hyderabad | Web Hosting | Yellow Pages | Our Network | |
Mastering PowerBuilder
Nested StoragesIn the above example, we have stored the sub-storage up to one level. The following example shows saving a sub-storage in a sub-storage.
This example does not make use of streams, to make the example more simple. After executing the script, the internal storage looks as shown in the following picture.
Saving the nested storage is like transactions. In a transaction, unless you commit the outer-most transaction, the transaction is not complete. For example, Begin Tran Tran1 Begin Tran Tran2
Commit Tran Tran2 This doesn't complete the transaction, However calling "Commit Tran Tran1" instead of "Commit Tran Tran2" will commit all the nested transactions. Saving nested sub-storages also similar to this. You need call Save() for the root storage file, not for the sub-storages.
|
| Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com |