Subject | RE: [IBO] Duplicating rows |
---|---|
Author | Riho-Rene Ellermaa |
Post date | 2002-03-04T14:59:15Z |
Ok, I can do that, but what about normal record inserting - when will the generator be called then?
(feeling very stupid and confused :)
Riho-Rene Ellermaa
senior programmer
Hansabank
Yes, but what I'm suggesting is that you don't use GeneratorLinks but
instead call the Gen_ID() method yourself, AFTER Query->RowData=sRowData, i.e.
Query->RowData=sRowData;
Query->Field("ID")= Query->Gen_ID(MyIDGenerator, 1)'
Query->Field("DOCNO")=Gen_ID(MyDocNoGenerator, 1);
regards,
Helen Borrie (TeamIBO Support)
[Non-text portions of this message have been removed]
(feeling very stupid and confused :)
Riho-Rene Ellermaa
senior programmer
Hansabank
Yes, but what I'm suggesting is that you don't use GeneratorLinks but
instead call the Gen_ID() method yourself, AFTER Query->RowData=sRowData, i.e.
Query->RowData=sRowData;
Query->Field("ID")= Query->Gen_ID(MyIDGenerator, 1)'
Query->Field("DOCNO")=Gen_ID(MyDocNoGenerator, 1);
regards,
Helen Borrie (TeamIBO Support)
[Non-text portions of this message have been removed]