<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1017886" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1017886</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/asp-insert-statements#comment-1104627</link>
    <description> &lt;p&gt;If you&#039;re using the Jet 4.0 OLEDB provider you should be able to use &quot;SELECT @@IDENTITY&quot;&lt;/p&gt;
&lt;p&gt;If not there really is no reliable way to get the ID of the last record inserted. If there is always only going to be one person creating records then you could do something like &quot;SELECT MAX(id) FROM table)&quot; after you do your insert.&lt;/p&gt;
&lt;p&gt;To see a VB example of using the Jet 4.0 OLEDB and @@IDENTITY check out this link: &lt;a href=&quot;http://support.microsoft.com/default.aspx?id=kb;;Q232144&quot; class=&quot;bb-url&quot;&gt;http://support.microsoft.com/default.aspx?id=kb;;Q232144&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 13 Mar 2002 16:46:07 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1104627 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
