KB-31535: Using On Error Goto in E3 scripts.
Question: Can I use “On error goto” to debug scripts on E3? Solution: No, you cannot, because the VBScript does not support this function. However, you can use “On error…
Question: Can I use “On error goto” to debug scripts on E3? Solution: No, you cannot, because the VBScript does not support this function. However, you can use “On error…
Question: How can I set the number of decimal places of a variable via scripts? Solution: To do so, you must use the Round() method. Example: Round(variable, number of decimal…
Question: How can I convert a string into an integer?Solution: To do so, you must use VBScript’s CInt function. For example: CInt(“string”)
Question: How can I open the screen where a certain object is when its alarm is activated? Solution: To do so, follow these steps: 1. Insert an XObject in the…
Question: How can I create a pulse button using the CommandButton object? Solution: To do so, there are at least two possibilities: you can write two scripts in events of…
Question: How can I set up buttons of a specific screen to be available only for users of a certain group? Solution: To do so, you can write a script…
Question: At an application, I used DoModal() method in a CommandButton’s script at an application. Why does the button remains pressed on the main screen after the modal screen has…
Question: Can I increase the size of the window opened by a script using the ShowDatePicker() method? Solution: No, you cannot. The size of this window only increases if the…
Question: How can I convert a date/time variable into Double? Solution: To do so, you must use the VBScript’s CDbl() function.
Question: When creating a Message Box with the date, a random numeric value is displayed (for example, 39876,8934523). How can I set up the Message Box with the Date/Time format?…