It looks like you're new here. Sign in or register to get started.
Overflow under type conversion of Decimal to Integer. Value: -2.147.483.648
i := (-1 -2147483647) * -1;
RecVar.COPYFILTERS(RecVar);
Bgestel wrote: localvar.findfirst; localvar.delete(true);
einsTeIn.NET wrote: i := (-1 -2147483647) * -1;
i := -(-1 -2147483647);
i := (-1 -2147483647); i := i / 1;
Comments
Try this and you will get the same bug.
make a table
in the ondelete trigger put a local var of the same type as the table
and put the following code in the ondelete trigger.
localvar.findfirst;
localvar.delete(true);
now insert some records and F4 the first record :bug: :bug: :bug:
** SI ** Bert Van Gestel **
**********************
On Native Server it crashed whole DB server...[/code]
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Navision has never been good with stack overflows, I think it got a bit better with about 3.6 when it stopped dieing with direct recursion but there are still lots of indirect methods.
OTOH this doesn't generate any error, it should be the same. Of course it's not the right result... :bug:
Another nice one is this:
The first line is OK but the second (!) generates an error.
TVision Technology Ltd
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n