New topic: 

ID of the DR Record Just created.

<http://forums.realsoftware.com/viewtopic.php?t=43929>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        JohnV          Post subject: ID of the DR Record Just 
created.Posted: Tue May 08, 2012 12:33 pm                         
Joined: Sun Jan 28, 2007 2:38 pm
Posts: 93                Im looking for the syntax of getting the ID of the 
record I just created....

myRealDB.InsertRecord "Table1", rec


if myRealDB.InsertRecord.Error then
  
  //Handle The error
else
  myRealDB.InsertRecord.Commit
  
  ***WHAT GOES HERE?  // ID=lastercord?
  
  
end if


end if
   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to