VCursor.AddRecord

Charles Yeomans yeomans at desuetude.com
Tue Oct 4 16:29:18 CDT 2005


As has been discussed before, there isn't a way to get the recID of a 
record just added with VCursor.AddRecord.  Because my code depended on 
this being possible in V4RB 1, I'm being forced to resort to a hack.  
It certainly seems reasonable to me to return the recID of the new 
record from AddRecord, replacing the apparently useless value now 
returned.

To handle Ruslan's vision of an AddRecord that supports 1-1 
relationships, all that needs to be done is to define which recID is 
returned, since given it one can retrieve the recID of the related 
record.


--------------
Charles Yeomans



More information about the Valentina mailing list