Difference between revisions of "Documentation/DevGuide/Database/Clones of the RowSet Service"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Database Access)
m (FINAL VERSION FOR L10N)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
|NextPage=Documentation/DevGuide/Database/Statements
 
|NextPage=Documentation/DevGuide/Database/Statements
 
}}
 
}}
{{DISPLAYTITLE:Clones of the RowSet Service}}
+
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Database/{{SUBPAGENAME}}}}
 +
{{DISPLAYTITLE:Clones of the RowSet Service}}
 
<!--<idltopic>com.sun.star.sdb.ResultSet;com.sun.star.sdb.XResultSetAccess</idltopic>-->
 
<!--<idltopic>com.sun.star.sdb.ResultSet;com.sun.star.sdb.XResultSetAccess</idltopic>-->
 
Occasionally, a second or third <code>RowSet</code> that operates on the same data as the original <code>RowSet</code>, is required. This is useful when the rows should be displayed in a graphical representation. For the graphical part a clone can be used which only moves through the rows and displays the data. When a modification occurs on one specific row, the original <code>RowSet</code> can be used to do this task.
 
Occasionally, a second or third <code>RowSet</code> that operates on the same data as the original <code>RowSet</code>, is required. This is useful when the rows should be displayed in a graphical representation. For the graphical part a clone can be used which only moves through the rows and displays the data. When a modification occurs on one specific row, the original <code>RowSet</code> can be used to do this task.
Line 16: Line 17:
 
{{PDL1}}
 
{{PDL1}}
  
[[Category:Documentation/Developers Guide/Database Access]]
+
[[Category:Documentation/Developer's Guide/Database Access]]

Latest revision as of 12:47, 15 May 2009



Occasionally, a second or third RowSet that operates on the same data as the original RowSet, is required. This is useful when the rows should be displayed in a graphical representation. For the graphical part a clone can be used which only moves through the rows and displays the data. When a modification occurs on one specific row, the original RowSet can be used to do this task.

The new clone is an object that supports the service com.sun.star.sdb.ResultSet if it was created using the interface com.sun.star.sdb.XResultSetAccess of the original RowSet. It is interoperable with the RowSet that created it, for example, bookmarks can be exchanged between both sets. If the original RowSet has not been executed before, null is returned.

Data access of RowSet and clone
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages