Skip to main content

IDEAScript Questions

Issues storing data into a new table

Hello Brian
 
I am working in a credit analysis and I need to create a database from scratch and populate it with data taken from another database, this process is repeated several times with different tables in a loop, but all of them have a similar structure where all the fields (except the last one) are numeric with two (or four if needed) decimal places and the last field is a date field.
My data has usually decimals values and sometimes low integer values, that is why it  is very important for the analysis to preserve the data exactly as it is.

Remove unnecessary records

Hi all, i need some help with a script i'm writing, it's a financial analysys, for debit and credit movements.
First i'm direct extracting by two criterias and because of that it creates me 2 new databases (the criterias are the account numbers).
After that i need to append them and do a new direct extraction with some new criteria (the criteria is the amount).

Copy and paste into a edit text box

Hello everybody,
 
I've been working on a macro that allow users to import a database using a ODBC connection. The last step I want to implement is allowing the user to type a Select Query in the text edit box en use that query with the clien.importODBC function. The query works and so does the ODBC connection, however in Query language you might want to use a ENTER every now and then to clean up the code a bit.
As a Example:
Select * from Tablename
where  column = "IDEAScripting.com Example"
 

Build an IDEASCRIPT executable including python script

Hi,
I would like to create an .exe file from a macro I created which integrates a python script. My problem is that when I build the executable file and try to run it on another machine (without importing the pyhton script) it doesn't work.
Is there a way to create an executable which already integrates the python code, so that the final user does not have to receive also the .py script?
Also, is it possible to create an executable which doesn't require to be included in the 'Macros' folder of the IDEA project?
Thank you, Ttx

Generate a list of dates given initial and final dates

Good afternoon:

I have to simultate a sql process which start to create a sequence of dates given initial and final date, actually an improvement would be just capture the initial date because the process is 36 months long, and generate a row using the last day of the month.

Thanks in advance for any help

Import ACCDB with password from Script

Hi, my question is how to import a accdb file with password from the IS.
With ADODB (Connection and RS) object I can enter and read all items from db but can't import into a table on IDEA.
Any suggestion?
Thanks
PS: Btw, IDEA can't neither import manually a MS Access file with password. (ODBC is NOT a way for this case)