Look up value from list stored in a different database
Forums
Hi is there a way when using @isin or @isini to point to a list values stored in a different database?
I have a list of values created using the following code attached.
I need to sift through the GL transactions and pick up the transaction related to the names in the list.
Thank you for your help.
Kind regards,
Thank you for your reply
Thank you for your reply Brian,
If I understand, in this specific case, I should read the names from the database created (I would like to keep it for review) and point the @isin or @isin function to the array variable.
Now, could you be so kind to direct me towards the functions I should look at?
Is the Database.RecordSet example on any use?
Hi VITOPIEPOLI,
Hi VITOPIEPOLI,
You could try using the attached script, it may do what you want. I have attached some screenshots on how to use it.
1) The first screenshot is of a general ledger description field. In the description field there is a Province Id located somewhere in the field. We want to identify the Province Id and also add in the Province Code
2) Screenshot two shows the parameters to choose in this particular case.
3) Screenshot three shows the resulting file that is created
In your situation I believe you want to search for people/management names, so your master file would be the list of names to search for.
Scott
Update:
Update:
I managed to get the script working but it take around 30 minutes to parse 140K records with 4 words to look up. A simple @isini function take around 1 second to do the same check with a specific word.
I assume it is due to the opening and closing of the databases at each iteration.
Before starting to look into, are you aware of ways for Python to access IDEA tables and work with it? I am asking it because I have written down the Python code to do the job but don't know if it 100% compatible with Idea working environment.
Many thanks
Vito
You can't point to a list