Skip to main content

General discussion

installing a menu called macros

Hello,
I recently finished a menu that invokes various macros or scripts, and created the project that is going to contain that menu, set it up in the IDEA ribbon.
the question is:
where do the macros or scripts reside do they have to be projects too?
What are the best practices for this menu to work and not give me an error?
have the programs in the menu project in the library macros.ILB ?
Thanks it's my first application in IDEA Scritps

pass two dates as parameter captured in a TextBox

Hello everyone,
I am making a menu which has several cases, in each case I have to do the date conversion routine, what I need is to create a function where I return the values in the desired format, so as not to have to repeat the codes of conversion of the date in each case.
Thank you
Example. 
Case 0  

For Looping (First, Second, Third, Fourth,.....)

    Set db = Client.OpenDatabase("Working\Management Fees Final.IMD")
    Set task = db.TableManagement
    Set field = db.TableDef.NewField
    field.Name = "FIRST_DDN_MGMT_FEE"
    field.Description = "Added field"
    field.Type = WI_VIRT_NUM
    field.Equation = "-FIRST_DDN_AMOUNT*COL2*FIRST_DDN_DURATION/365"
    field.Decimals = 2
    task.AppendField field
    task.PerformTask

How to call folders in file explorer

Hi Brian
 
I hope you are doing well.
I have question for you. I would like to create a drop down list for lots of folders in a folder (these folders are not in the project folder or directory).
Suppse we have a folder in our computer and in that folder we have 35 folders. So these 35 folder should be in the drop down list in the dialog box (instead of writing the folders name in my dialog box, I would like to pick the name from the list)
Is it possible to do that?
I have attached the dialog box I created