I want to know the difference between Exit and Quit in Navision.If anyone knows the difference and in which context we need to use ,kindly let me know.
Both will stop execution but Quit will execute remains line of code in same trigger while exit does not(it will stop the execution from the line where exit written).
EXIT can be used in all objects and you only need to write "EXIT;". EXIT just exits the current functions/trigger
QUIT can only be used in dataports,reports,XMLports and needs to be used as follows "Currreport.QUIT;" (for reports). QUIT stops processing the dataport,report,XMLport.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
EXIT can be used in all objects and you only need to write "EXIT;". EXIT just exits the current functions/trigger
QUIT can only be used in dataports,reports,XMLports and needs to be used as follows "Currreport.QUIT;" (for reports). QUIT stops processing the dataport,report,XMLport.
This :thumbsup:
When you use QUIT, the report / dataport / xmlport is aborted without committing any changes that were made to the database.
Microsoft Certified IT Professional for Microsoft Dynamics NAV
Comments
QUIT can only be used in dataports,reports,XMLports and needs to be used as follows "Currreport.QUIT;" (for reports). QUIT stops processing the dataport,report,XMLport.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
This :thumbsup:
When you use QUIT, the report / dataport / xmlport is aborted without committing any changes that were made to the database.
Just a happy frood who knows where his towel is
http://msdn.microsoft.com/en-us/library/dd355276.aspx
http://www.BiloBeauty.com
http://www.autismspeaks.org