Hi, I am accessing a table and insert a copy of the extracted record into a temporary table. What is quite strange is that I excess again the same table but under a different name and post a copy of the record into the same temporary table and for some reason the temporary table is being cleared from all the records.
Has anyone got any idea why this may be happening?
0
Comments
If you do want to share the records. You you can make it an array of a temporary record variable.
That way If you insert in MyRecord[1]. MyRecord[2] will read it.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Not quite sure if this is the case though, would help if some code is posted.
the case is exactly as has been described by M. Eleveld . The only coding being used is
BankLedgerEntry.Copy(BankAccount1);
BankLedgerEntry.Insert;
BankLedgerEntry.Copy(BankAccount2);
BankLedgerEntry.Insert;
The first part for table while the second for table b. BankLedgerEntry is a temporary table. I simply can't understand which the entries are automatically being deleted as soon as I insert the first line in table B. Could it be that there is a propery or something which I don't know about it?
Like
Try something like this to see or use a form to display ALL of the records in the set.
Epimatic Corp.
http://www.epimatic.com
insted of copy, use direct assignment of records. try this.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.