Hi,
we found a critical bug under SQL 2005 with the following procedure:
For example:
2 Tables 2 Forms (55000 and 55001)
Navision and Form 1 is opened in fullscreen mode.
Logged User is neither dbowner nor serveradmin, just a normal user.
A command button on Form 1 runs the following C/AL command:
OnPush()
Table1.INIT;
Table1."Entry No." := 1;
Table1.INSERT;
Table1.Description := 'text';
Table1.MODIFY;
FORM.RUN(55001);
expected result: new entry in table1
If you press the button on form1 and then close the appearing form2 and form1, the table1 is empty.
If you run this scenario in window mode the entry is created in table1.
Highlight isn't it?
Kind regards
Patric
0
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
If you try a COMMIT and a FORM.RUNMODAL instead of a FORM.RUN, I think it will be correct.
I think it happened because you didn't finish the transaction and run a another form.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Don't think so, it's working with SQL 2000 and it's also working with dbowner/Sysadmin rights under SQl 2005.
Also having different results in fullscreen mode and window mode seems not to be a coding problem as using a "Commit" is also no solution.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
This behaviour is definetly an error in the finsql.exe of Navision and a code review and rework is also no solution for a so called compatible wih SQL Server 2005 solution. I'm wondering why this error hasn't been posted so far neither her nor to the MBS support.
Has anyone made the same experience on SQL 2005?
We already tested the internal hotfixes and updates for the client without success. Checked dbproperties without having found a hint.
CYA
Patric
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Yesterday, we had a problem with a report that on my PC worked well. It turned out my colleagues used an unfixed version of 4.00SP2 client.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Are there any news or solutions?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.