Skip to main content

IDEAScript Questions

Dealing with Folders

I've been trying to figure out a way to deal with user created folders. 
Its very common for users in my organization to work with a set of databases in IDEA and then create a folder to organize them within the current directory. They will create a folder and then move the databases over. The problem though is many of the scripts that I have been written can not find those databases moved into those folders. The scripts will pull all the databases in the current directory unless they are within a folder. 

Drop-down box

Hi everyone,
Can you please help me vb macro in idea
I have direct extraction equation below
@match(columnname,1000) and.columnname < 0
Where in scripting I need to change the column name by selecting drop-down and account numbers were changing Case by case so I need input different account numbers.
 
Please help me in this regard how to write macro for this.  
Thanks in advance 
Nagaraj Arali
 
 

Joining Tables when key is between two values (upper and lower)

Hello, this is my first post on this forum as I am a recent IDEA user.
This question has been crackling my brain recently without any success.
I am trying to calculate the tax retention of multiple employees.
Tax Retention tables have an upper and a lower limit, and 2 features. For the two features I can simply do a join matches only but is there any way to do a key join between a range?
Tax retention table example on the right side.Employee Info on the left.
I want to extract the tax% value for each employee based on the features and its value.

Update Dialog based Drop Down Combo Box Selection

Is there a way to have the dialog update based on the user selecting from a Drop Down Combo Box?
Basically, I'm trying to have the user select a file from the drop down combo box and from this another combo box is populated with the fields from that selected file. 
Any help would be appreciated. 

Script to Launch Analysis function

Hello, 
I was wondering if it was possible to write a script that will launch a specific analysis. For instance if I write a script where the user wants to summarize something. This would manually be done through the Summarization menu. Is it possible for me to take adavantage of the Summarization menu having already been built to run that anaylsis within the script?

Finding the min and max of a date range

Hi Brian,
I want to write a script or a custom function to find the Min or Max value date range for a particular criteria
For Eg:- in File 1 i have the following data. 

Vendor
Date

111
03-Mar-17

111
28-Feb-17

111
01-Jan-17

112
07-Mar-17

112
01-Mar-17

112
28-Nov-16

112
20-Nov-16

 
 

I have another file which has vendor codes alone. I want the output as under

Vendor
Latest date
Earliest date

Customize Ribbon with Script

Hello, 
I've been looking into this and haven't found out one way or another, but is there a way to use a script to customize the ribbon? I'm looking to install a series of IDEA scripts on multiple user computers and it would be great if I can just have them run a script that does all the customizations of their ribbon so they can use all of the other scripts quickly. 
Any help that can be provided on this would be appreciated. 
 
Thanks, 
Chris