VCursor.AddRecord

Ivan Smahin IvanSmahin at public.kherson.ua
Wed Oct 5 22:38:07 CDT 2005


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.


-- 
Best regards,
 Ivan                            mailto:IvanSmahin at public.kherson.ua



More information about the Valentina mailing list