In Business Objects 6.1b, how do I prompt for the user to enter a value in the OnOpen Event and then add or modify a document variable, “NewRate”, to the document variable list so it can be used in creating other variables. I want the user to enter an Interest rate that can be used in a variety of calculations.
I need the prompt that allows the user to change the interest rate variable several times in the document, without rerunning the query.
I used the above Macro and tried closing and opening the document for each interest rate change but it does the calculation based on the previously entered prompt value rather than the current prompt value.
The example code is run only when the document is opened. If you need it to be “on demand” (triggered by the user), you’ll need to move the code to a custom menu button / macro instead.
i attempted to use the above code as i need the user to be prompted to enter a month i.e. January which will then be used in other calculations within the report but i can’t get it work…
Runtime error 20: Cannot find the variable by its name