IDEAScript Questions
Table Preview by Scripting
Forums
Is it possible to generate a table preview window by idea script?
- Read more about Table Preview by Scripting
- 7 comments
- Log in or register to post comments
Macro that will import new files monthly
Forums
Hi,
I am fairly new to IDEA script, and I am trying to modify a macro so that it will import two new files monthly that we receive from another department. The file names are the same except for the date at the end which is why I have tried using an input box that you can see in part of my script attached. I am getting many syntax errors and am having trouble working around them. Is there a better way to go about this?
- Read more about Macro that will import new files monthly
- 17 comments
- Log in or register to post comments
Pivot table - How to add filter
Forums
Hello everyone,My file contains the number of tickets sold, the ticket price, type of payment, type of transaction, type of ticket and the date of the transaction.Using IDEAScript, I would like to produce 6 different tables showing the number of tickets and the enti
- Read more about Pivot table - How to add filter
- 1 comment
- Log in or register to post comments
Split tables according to a field value
Forums
Hi all :)
I have a table "TableOne" that contains n fields. In field "Fieldn" there are codes like C1, C2, C3 etc.
I would like to be able to split tables: TableOne_C1, TableOne_C2, and so on.
Basically like: on every change in the column X create an extract with the new value as table-suffix.
Any suggestions?
regards from Berlin
- Read more about Split tables according to a field value
- 6 comments
- Log in or register to post comments
Wrap character fields using script
Forums
Hi,
There is an option to wrap character fields under View. User has to select a column and click on this option to enable it.
I have to show a description field in my output file which is generated through idea script.
Width of this column is 200 and there are some other columns. While opening the output file, user will not be able to see other columns without moving scroll bar as the width of the column is high. Is there any way to wrap text of this column programmatically?
Thanks,
Shafeer
- Read more about Wrap character fields using script
- 3 comments
- Log in or register to post comments
Kill / Terminate / Quit complete script
Forums
Hey,
I want to put a statement into my errorhandler which terminates the complete script.
Is there such an easy statement?
Kind regards
David
- Read more about Kill / Terminate / Quit complete script
- 7 comments
- Log in or register to post comments
Problem with using ListBoxs to select data
Forums
Hello,
I am having a problem with using listboxs to select some data for use by the user. It only happens with one specific listbox eve4 n though the code is exactly the same.
- Read more about Problem with using ListBoxs to select data
- 3 comments
- Log in or register to post comments
Import iss File into iss
Forums
Hello,
Is there an easy way to import an iss file into a script? I would like to get more structured script code.
If not is there any other way to import any self written classes or libraries?
Thank you in advance!
Kind regards
David
- Read more about Import iss File into iss
- 2 comments
- Log in or register to post comments
How to use variables in formulas?
Forums
Hi Brian,
I have recorded a makro which includes a criterion that looks like this:
task.AddExtraction dbName, "", "(betrag <= @FieldStatistics(""BETRAG"";11)-2*@FieldStatistics(""BETRAG"";18)) .OR. (BETRAG>=-@FieldStatistics(""BETRAG"";11)+2*@FieldStatistics(""BETRAG"";18))"
In order to make it more flexible, I want to define the field name "BETRAG" as variable (part of an array). The name of the variable is Fields(3). It should look like this:
- Read more about How to use variables in formulas?
- 3 comments
- Log in or register to post comments
Problem when using criteria and count function
Forums
Hello,
First, excuse my bad english, i'm french :-)
I discover idea script, i have a lot of request to do in a big table. (> 100 000 records).
So i want to use "criteria" with a recordset.
like : rs.criteria " XXXX > 20150101 "
I have a problem :
My equation is ok, and when i browse my recordset the filter is ok ( rs.next).
But i browse the result with a loop like " While i < rs.Count"
The problem is : rs.Count don't return the number of record which match the criteria, but the whole records... So my loop don't work