﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Access AutoNumber Insert</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 22:17:03 GMT</lastBuildDate><ttl>20</ttl><item><title>Access AutoNumber Insert</title><link>http://forum.strataframe.net/FindPost15372.aspx</link><description>Ok... I'm having a major brainfart here... I could've sworn I saw a posting somewhere here talking about retrieving AutoNumber fields from an Access DB after an insert awhile back....&lt;br&gt;
&lt;br&gt;
Anyways, how to I get the new AutoNumber value after adding (and saving) a BO?  It keeps returning -1 on me...&lt;br&gt;
&lt;br&gt;
Do I have to resort to executing a "SELECT @@IDENTITY" command to retrieve it?</description><pubDate>Fri, 04 Apr 2008 13:24:42 GMT</pubDate><dc:creator>Crones</dc:creator></item><item><title>RE: Access AutoNumber Insert</title><link>http://forum.strataframe.net/FindPost15381.aspx</link><description>Cool....glad to hear it! :)</description><pubDate>Fri, 04 Apr 2008 13:24:42 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Access AutoNumber Insert</title><link>http://forum.strataframe.net/FindPost15380.aspx</link><description>Sweet!  That did the trick.&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Fri, 04 Apr 2008 10:24:35 GMT</pubDate><dc:creator>Crones</dc:creator></item><item><title>RE: Access AutoNumber Insert</title><link>http://forum.strataframe.net/FindPost15378.aspx</link><description>It was a good ol' fashioned bug...so it wasn't you...it was us :D&amp;nbsp; I have attached an updated Base assembly for you to try.&amp;nbsp; We are going to be putting out a maintenance release pretty soon that will have this in it, but you can get a head start :)</description><pubDate>Fri, 04 Apr 2008 09:42:47 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>