Stop the infinite loop.

upasanisandip
Member Posts: 405
Hi all,
I have given 1 message box in loop.
But it is infinite. I want to stop that .
Like we use Ctrl + Pause in other languages.
Is there anything like that in Navision?
Thanks,
Sandip.
I have given 1 message box in loop.
But it is infinite. I want to stop that .
Like we use Ctrl + Pause in other languages.
Is there anything like that in Navision?
Thanks,
Sandip.
0
Answers
-
No there isn't. You have to close the application (try using Task Manager).No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
An tip. Don't use messageboxes (for example for debugging) Use confirm.
Here you have the chance to stop your application codeDo you make it right, it works too!0 -
push ESC key continuosly.
Finaly, the process stops
bye0 -
you could also program a status window using a dialog type variable, which gives you a cancel button by default.0
-
Phenno wrote:garak wrote:An tip. Don't use messageboxes (for example for debugging) Use confirm.
Here you have the chance to stop your application code
or simply add integer counter to test message boxes...
IF intcount >1000 THEN EXIT;
Ofcourse, where applicable.
bad idea... ](*,)
in this case, you should click ok button "only" 1000 times....
but hey... that number could be smaller, eg. 40.0 -
LOL that reminds me of a go-live weekend. We had written a dataport that automatically posted, but there was a confirm message for every line that had to be clicked away. Instead of commenting out the message (there was other stuff going on at the same time and we didn't want to lose the message) we came up with a 'data migration tool' in the form of a wrench socket that was placed on the 'Y' key. It wasn't so easy to find the right one, as the small ones were to light and the bigger ones were too big for the key. We had to use a certain person's laptop to make it work, that was the only one whose key was loose enough for the weight of the socket.
For those of you who don't understand what a socket is click here0 -
Daniel, this is one from the best stories from NAV world for me...
hardware solution for software problem... many users are solving the problems of confirmations in same way. (it reminds me one episode from The Simpsons ;-)
0 -
LOL that reminds me of a go-live weekend. We had written a dataport that automatically posted, but there was a confirm message for every line that had to be clicked away. Instead of commenting out the message (there was other stuff going on at the same time and we didn't want to lose the message) we came up with a 'data migration tool' in the form of a wrench socket that was placed on the 'Y' key. It wasn't so easy to find the right one, as the small ones were to light and the bigger ones were too big for the key. We had to use a certain person's laptop to make it work, that was the only one whose key was loose enough for the weight of the socket.
Great SolutionCA Sandeep Singla
http://ssdynamics.co.in0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions