VCursor.AddRecord
Charles Yeomans
yeomans at desuetude.com
Wed Oct 5 15:56:44 CDT 2005
On Oct 5, 2005, at 3:38 PM, Ivan Smahin wrote:
> Hello Charles,
>
> Tuesday, October 4, 2005, 11:29:18 PM, you wrote:
>
> CY> As has been discussed before, there isn't a way to get the recID
> of a
> CY> record just added with VCursor.AddRecord. Because my code
> depended on
> CY> this being possible in V4RB 1, I'm being forced to resort to a
> hack.
> CY> It certainly seems reasonable to me to return the recID of the new
> CY> record from AddRecord, replacing the apparently useless value now
> CY> returned.
>
> I'm afraid I did not get the point, but actually AddRecord() returns
> the new record's REC_ID.
> Meanwhile we've discovered another glitch with RecID field. After
> Cursor::AddRecord() call cursor's RecID field (if any) stays
> unchanged. It's fixed but not available for download yet.
This is the point. Thanks.
That the recID field is updated if present should be documented; I will
add a request for that.
--------------
Charles Yeomans
More information about the Valentina
mailing list