Skip to main content

Questions on IDEA Analysis

Array of field names - when function executed 2nd time or further the first position of the array is not displayed in the dialog

Hi all,
 
When i execute the attached code (still work in progress) it is supposed to open 3 excel files and display the list of the fields in the dialog box for the user to chose appropriate field. Each time it should display 'N/A' in the drop down menu but it doesnt when i select something in dialog box in 1st run. It must be something with the iteration of the ListofColumns but I am not sure how to resolve it.
Thank you for your help in advance.
 
 

Summarization function internal error - Parameters

I have created a very simple piece of code that does a few analysis between 2 files. The problem is that it works correctly only for the first run when the analysis on both files are executed very first time. When I run that code again on the initial 2 databases I used in first place the code generates the error - "Error on line 259" which is task.PerfromTask while summarization function is executed - as the error is quite ambigious I am not sure how to resolve it. Additionally the IDea gets closed immediately after this error.

Replacing specific value with value from corresponding cell

Hello,
I am currently wanting to replace all the cells in one column (column A) that have a value of "0/00/000" with a value in the same row from another column (column B).
Basically, if Column A Cell 1 = "0/00/0000" then replace Column A Cell 1  with Column B Cell 1. I am very new to IDEA but I thought appeneding a new field with the following was a good start.
@If( ColumnA == @Ctod("0/00/0000" , "D/MM/YYYY"),   ColumnB )
I have tried a few other things that I thought might get me close to no real effect. Any ideas?

Checking selection of the CheckBox and TextBox in Idea with loop

 
Hi all,
 
In my code i am using a dialog box with number of Checkboxes and Textboxes. To verify wheter the user checked any CB or provided string with TB i use the following code respectively:
 
                             If dlg2.CheckBox1 = 1 Then

extract a string by deleting first letter and last letter

Hello guys 
I am new in Idea analysis software
Im wondering if there is a function to extract a string by deleting first letter and last letter 
for example,
9peter019  I want to extract peter01 
I want to apply this in the name_field 
 
thank you