Reading RecID after Add()

Fred.Stephenson Fred.Stephenson at communication-unltd.com
Mon Feb 23 20:17:02 CST 2004


>   if not resultSet.Update() then
>     return nil
>   end if
>
>After the Add, I want to read the RecID generated back out. Will this work
>correctly?
>
>   ' Read the record ID
>   recordId = resultSet.ULongField("RecID")
>

Yes ... but why the resultset.update??

Fred


More information about the Valentina mailing list