It looks like you're new here. Sign in or register to get started.
ERROR('Aborted');
ERROR(' ');
ERROR('');
OBJECT Codeunit 80000 Closing Navision { OBJECT-PROPERTIES { Date=23.12.05; Time=17:42:34; Modified=Yes; Version List=LORD; } PROPERTIES { SingleInstance=No; OnRun=VAR BEGIN Window.OPEN('#1#########################'); MyFunc(1); Window.CLOSE; END; } CODE { VAR Window@1000000002 : Dialog; PROCEDURE MyFunc@1000000000(Par@1000000001 : Integer); BEGIN Par+=1; Window.UPDATE(1,'Closing Navision'); IF Par=1000 THEN EXIT; MyFunc(Par); END; BEGIN // Created by Tyrex END. } }
Comments
OnQueryCloseForm() : Boolean
IF NOT CONFIRM('are you sure you want to close Navision',FALSE)THEN
ERROR('');
MindSource (UK) Limited
Navision Service Partner
david@mindsource.co.uk
info@mindsource.co.uk
Navision Service Partner
david@mindsource.co.uk
info@mindsource.co.uk
This should work too, and you won't get an error!
EXIT(CONFIRM('close form?',TRUE));
If you type or you will get an error message.
If you type then you'll get no message.
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
in the object designer (Navision 4.0) can't find the form 330.
I need really help :-(
Greetings Kevin
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
RIS Plus, LLC
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Do It Yourself is they key. Standard code might work - your code surely works.