Difference between revisions of "Documentation/DevGuide/Database/Piggyback Connections"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Documentation/Developers Guide/Database Access) |
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
||
Line 6: | Line 6: | ||
|NextPage=Documentation/DevGuide/Database/Manipulating the Data | |NextPage=Documentation/DevGuide/Database/Manipulating the Data | ||
}} | }} | ||
− | {{DISPLAYTITLE:Piggyback Connections}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Database/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE:Piggyback Connections}} | ||
Occasionally, there may already be a connected database row set and you want to use its connection. For instance, if a user has opened a database form. To access the same database as the row set of the form, use the connection the form is working with, not opening a second connection. For this purpose, the <idl>com.sun.star.sdb.RowSet</idl> has a property <code>ActiveConnection</code> that returns a connection. | Occasionally, there may already be a connected database row set and you want to use its connection. For instance, if a user has opened a database form. To access the same database as the row set of the form, use the connection the form is working with, not opening a second connection. For this purpose, the <idl>com.sun.star.sdb.RowSet</idl> has a property <code>ActiveConnection</code> that returns a connection. | ||
Revision as of 12:46, 15 May 2009
Occasionally, there may already be a connected database row set and you want to use its connection. For instance, if a user has opened a database form. To access the same database as the row set of the form, use the connection the form is working with, not opening a second connection. For this purpose, the com.sun.star.sdb.RowSet has a property ActiveConnection
that returns a connection.
Content on this page is licensed under the Public Documentation License (PDL). |