IDEAScript Questions
Database name is "either invalid or currently in use"
Forums
So far my code is pretty simple--it performs a join and extracts duplicates from the resulting database. However, I'm getting the following error when I go to perform the task in my duplicate extraction function:
"Invalid database name. The database name provided is either invalid or currently in use."
IdeaScript AppendField Error
Forums
Hey there, I have a problem appending a new field to my database.
I built a function that takes a string from my database I'm appending to, and gets a string from anouther database that I need to be the value in my new Field... I get a error on my "task.AppendField field" saying there is a syntax error
Option Explicit
Dim LedgerTransaction As Object
Dim LTRecordSet As Object
Dim LTRecord As Object
Dim EntryTypeDescription As String
Dim ColumnName As String
Dim Number As String
Dim LTtask As Object
- Read more about IdeaScript AppendField Error
- 1 comment
- Log in or register to post comments
Use @Getprevious on same column
Forums
In Row 1 we have the closing balance
In Row 2 we will be using the closing balance of Row 1 as opening balance + Purchase - consumption = Closing balance
In Row 3 the closing balance of Row 2 will become the opening balance and this will continue, untill a new item witn opening balance is provided.
If we use the get previous formula all the data get freesed in that column and we cannot recalculate the amount in the same column.
- Read more about Use @Getprevious on same column
- 1 comment
- Log in or register to post comments
.iss file from .exe file
Forums
We have frw isea script in .exe format, however the original .iss script is not available and we need to0 make some modifications to the original script.
Is there any way we can get the original .iss script from the .exe file created using ideascript.
- Read more about .iss file from .exe file
- 1 comment
- Log in or register to post comments
Get a Previous Cells value and add it to current cell
Forums
Hi Brian,If i want get a cells value & then add it to the preious cell and keep on populating a column like that. Would it be possible ? For eg. in MS Excel, the same formula would like this = Coln A | Coln B| Coln C| 12 2 22 4 coln C = 12 + 4 = 16 ----- i.e.
problem with decimals when reading PDF
Forums
Hi
Thanks in advance Brian for your help.
My problem is that because of my regional convention (Argentina), we use the period "." as the thousandth separator and the comma "," as the decimal separator.
When I try to read a format that the decimal separator is a point ".", The numerical reading generates an error and leaves its value at zero.
How can I cast or modify the code so that this reading is correct for my regional configuration?
- Read more about problem with decimals when reading PDF
- 4 comments
- Log in or register to post comments
For Loop
Forums
Hello,
I am sure this has come up before but does anyone know how you can put a for loop similar to C++ but in IDEA code? I am trying to have a portion of my macro run through the same code over and over again until a final database is formed that doesn't have any outputs.
Any guidance would be much appreciated.
Thanks!
-Claressa
- Read more about For Loop
- 1 comment
- Log in or register to post comments
Filename Based on Variable / Calculation
Forums
Hi everyone.
I'm sure this must be a relatively straightforward, but wonder if someone could help with the below.
I have an ODBC import script, which performs various pieces of analysis, then exports the results.
- Read more about Filename Based on Variable / Calculation
- Log in or register to post comments
Performing same macro on same files but with different file names
Forums
Hey guys,
I've got the following task:
In order to check bookings, I created the macro, that does everything I need it to do.
The tables I run the macro on, always have the same structure. My problem is with the file names - they always have a time stamp in their name, from when they're downloaded.
I'd like to automate the macro, so that they can run on any file without having to rename the files everytime.
The file names look like this:
YYYYMMDDHHMMSS_SP1_ABCD
how to copy a dialog
Forums
Hi,
I wanted to see if there is a quick way to copy everything I already put together in this dialog and paste it into another idea script project?
Or if there is a way to generate the code that contains that dialog and copy and paste it into the script of the new project?
- Read more about how to copy a dialog
- 1 comment
- Log in or register to post comments