| 6 | 6 | </style></head><body><div class="navigation"><div><table align="center" width="100%" cellpadding="0" cellspacing="2"><tr><td class="online-navigation"><a title="ConnectAndExecuteCommand Method" href="Method_GeoEco.DatabaseAccess.ADO.ADODatabaseConnection.ConnectAndExecuteCommand.html?format=raw"><img src="previous.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Previous Page" /></a></td><td class="online-navigation"><a title="Module Index" href="Module_GeoEco.DatabaseAccess.ADO.html?format=raw"><img src="up.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Up one Level" /></a></td><td class="online-navigation"><a title="ADOInsertCursor Constructor" href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.__init__.html?format=raw"><img src="next.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Next Page" /></a></td><td align="center" width="100%">GeoEco Python Reference</td><td class="online-navigation"><a title="Table of Contents" href="TableOfContents.html?format=raw"><img src="contents.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Table of Contents" /></a></td><td class="online-navigation"><a title="Module Index" href="ModuleIndex.html?format=raw"><img src="modules.png?format=raw" border="0" align="bottom" height="32" width="32" alt="Module Index" /></a></td><td class="online-navigation"><img src="blank.png?format=raw" border="0" align="bottom" height="32" width="32" alt="" /></td></tr></table><div class="online-navigation"><b class="navlabel">Previous:</b> <a class="sectref" href="Method_GeoEco.DatabaseAccess.ADO.ADODatabaseConnection.ConnectAndExecuteCommand.html?format=raw">ConnectAndExecuteCommand Method</a> <b class="navlabel">Up:</b> <a class="sectref" href="Module_GeoEco.DatabaseAccess.ADO.html?format=raw">Module Index</a> <b class="navlabel">Next:</b> <a class="sectref" href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.__init__.html?format=raw">ADOInsertCursor Constructor</a> </div><hr /></div></div><h1><tt class="class">ADOInsertCursor</tt> Class</h1><p>Represents a cursor used to insert rows into a table.</p><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td class="metadataTitle">Module:</td><td class="metadataValue"><tt class="module"><a href="Module_GeoEco.DatabaseAccess.ADO.html?format=raw">GeoEco.DatabaseAccess.ADO</a></tt></td></tr><tr valign="baseline"><td class="metadataTitle">Intended use:</td><td class="metadataValue"><span style="color: red;">Intended for GeoEco internal use only; not recommended for external callers</span></td></tr><tr valign="baseline"><td class="metadataTitle">COM:</td><td class="metadataValue">Not exposed as a COM class</td></tr><tr valign="baseline"><td class="metadataTitle">ArcGIS:</td><td class="metadataValue">Not exposed to ArcGIS</td></tr></table><h3>Constructor</h3><dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><span class="typelabel">class</span> <tt class="method"><a href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.__init__.html?format=raw">ADOInsertCursor</a></tt></b>(</td><td><big>[</big><var>connection</var><big>[</big><var>, table</var><big>[</big><var>, spatialReference</var><big>[</big><var>, rowCount</var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var><big>]</big><var></var>)</td></tr></table></dt><dd>Constructs a new ADOInsertCursor instance and, optionally, opens it.</dd></dl><h3>Read-only properties</h3><dl><dt><b><tt class="member"><a href="Property_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.Connection.html?format=raw">Connection</a></tt></b></dt><dd>DatabaseConnection instance that this cursor is associated with.</dd></dl><dl><dt><b><tt class="member"><a href="Property_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.IsOpen.html?format=raw">IsOpen</a></tt></b></dt><dd>True if this cursor is open. If False, the other methods of this object will fail until the cursor is opened.</dd></dl><dl><dt><b><tt class="member"><a href="Property_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.SpatialReference.html?format=raw">SpatialReference</a></tt></b></dt><dd>The spatial reference provided by the caller when the cursor was opened.</dd></dl><dl><dt><b><tt class="member"><a href="Property_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.Table.html?format=raw">Table</a></tt></b></dt><dd>Database table that this cursor is accessing.</dd></dl><h3>Instance methods</h3><dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><tt class="method"><a href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.InsertRow.html?format=raw">InsertRow</a></tt></b>(</td><td>)</td></tr></table></dt><dd>Inserts the row that is currently under construction into the table.</dd></dl><dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><tt class="method"><a href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.Open.html?format=raw">Open</a></tt></b>(</td><td><var>connection</var><var>, table</var><big>[</big><var>, spatialReference</var><big>[</big><var>, rowCount</var><big>]</big><var></var><big>]</big><var></var>)</td></tr></table></dt><dd>Opens the cursor.</dd></dl><dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><tt class="method"><a href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.SetRowCount.html?format=raw">SetRowCount</a></tt></b>(</td><td><var>rowCount</var>)</td></tr></table></dt><dd>Sets the number of rows that will be inserted by this cursor.</dd></dl><dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><tt class="method"><a href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.SetValue.html?format=raw">SetValue</a></tt></b>(</td><td><var>field</var><var>, value</var>)</td></tr></table></dt><dd>Sets the value of a field of the row that is currently under construction.</dd></dl><dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><tt class="method"><a href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor._Close.html?format=raw">_Close</a></tt></b>(</td><td>)</td></tr></table></dt><dd>Closes the cursor.</dd></dl><dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><tt class="method"><a href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor._InsertRow.html?format=raw">_InsertRow</a></tt></b>(</td><td>)</td></tr></table></dt><dd>Inserts the row under construction into the table.</dd></dl><dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><tt class="method"><a href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor._Open.html?format=raw">_Open</a></tt></b>(</td><td><var>connection</var><var>, table</var><var>, spatialReference</var>)</td></tr></table></dt><dd>Opens the cursor.</dd></dl><dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><tt class="method"><a href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor._SetValue.html?format=raw">_SetValue</a></tt></b>(</td><td><var>field</var><var>, value</var>)</td></tr></table></dt><dd>Sets the value of a field for the row under construction.</dd></dl><dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline"><td style="white-space: nowrap;"><b><tt class="method"><a href="Method_GeoEco.DatabaseAccess.ADO.ADOInsertCursor.__del__.html?format=raw">__del__</a></tt></b>(</td><td>)</td></tr></table></dt><dd>Closes the cursor.</dd></dl><h3>Remarks</h3><p>This class is not intended to be instantiated directly. Call |