I am currently using LabWindows/CVI Version 6.0 and SQL Toolkit version 2.0.6 and was wondering if there is any way to return the Record ID of a record which has just been created similar to the @@SELECT command in VB? At the moment I am writing the record and then having to do several operations which are taking a long time to complete, i.e.
DBAllowFetchAnyDirection
DBActivateSQL (SELECT * from Table)
DBNumberOfRecords
DBDeactivateSQL
DBBeginMap
DBMapColumnToInt (Record ID)
DBActivateMap
DBFetchRandom (Last Record)
DBDeactivateMap
I need this Record ID to cross reference a second table which contains results information.