IDEAScript Questions
Issues storing data into a new table
Forums
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.
- Read more about Issues storing data into a new table
- 9 comments
- Log in or register to post comments
Remove unnecessary records
Forums
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).
- Read more about Remove unnecessary records
- 3 comments
- Log in or register to post comments
Modify Criteria
Forums
Is there a way to grab the current critera and then change it without extracting a database? For example, say I import a general ledger into IDEA that has 5 columns:
1) Customer_Name
2) Debit
3) Credit
4) Reference
5) Account_Number
- Read more about Modify Criteria
- 3 comments
- Log in or register to post comments
expand all
Forums
Hi folks,
I'm wondering is there an IDEA script function to Expand All ?
I'm running a macro that creates mutliple databases and I'd like to finish by expanding the list in IDEA file explorer.
Thanks a million
Phil
- Read more about expand all
- 2 comments
- Log in or register to post comments
VBA code in IDEA script
Forums
Hi Brian,I have been watching your pages for a long time and I consider them very useful. There is not much documentation about the ideascript itself.
- Read more about VBA code in IDEA script
- 1 comment
- Log in or register to post comments
Copy and paste into a edit text box
Forums
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"
- Read more about Copy and paste into a edit text box
- 9 comments
- Log in or register to post comments
Build an IDEASCRIPT executable including python script
Forums
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
Find mismatching fields
Forums
Hi
I have a script that compares fields and checks if there is a mismatch. It works fine sometimes, but seems to skip other fields at other times, especially if the fields are many, What could be the issue? I have attached the file in .txt format.
Please assist. Thanks.
- Read more about Find mismatching fields
- 1 comment
- Log in or register to post comments
Generate a list of dates given initial and final dates
Forums
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
Forums
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)
- Read more about Import ACCDB with password from Script
- 4 comments
- Log in or register to post comments