Is there any possibility of getting a user input in the middle of a routine?

2 posts / 0 new
Last post
rini joy
Offline
Joined: 12/08/2016 - 06:26
Is there any possibility of getting a user input in the middle of a routine?

Hi,
The concept is that when a user runs the first part of the routine, user should get information he can use to get specific results from the second half of the routine. The user can map the files when the routine starts.  The user will need information from the first 1 or 2 output files in order to make good decisions for the input box to focus the remaining processing on a particular set of records.  Since the user will be referencing the output of the first stage of the routine, he would need to be able to navigate around the output and then input what values he needs into a pop-up dialog box.  
 
Thanks
Rini

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Hi Rini,

Unfortunately you can't access an IDEA database while a script is running but you do have several options.  Depending on the amount of data you could display it in a dialog and then have the user make some choices based on the results.  If the data is too large for a dialog you can also send it to an Excel spreadsheet that would allow the user to review the results in the spreadsheet and then input the necessary values.  If you want to stick with IDEA then you might have to do it in two phases, first create the initial results, stop the script to allow the user to review the IDEA database and then have them run a second script based on the results from the first.

Hope this helps a bit.

Brian