Skip to main content

General discussion

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
 

Dialog Box - Import files _ You must enter a valid file name

Hi Brian
Thanks for your all supports.
I defined a couple of variables for my dialog box but I receive an error for importing XML file. I think I need to define one more thing in the function.
Would you please run my macros and see how to solve the problem. Thanks :)
 

scripts that allows me to connect to a page or has a method to download file from the web

Hello everyone,
Someone has a scripts that allows me to connect to a page and download an excel document and the same script allows me to save it in a directory, and then export it to IDEA, or has a method to download file from the web

Auto starting script and code posting

Hi, I have two small doubts that I would like to know if you could help me.
1. I was told that IDEA allows you to schedule scripts to start and run, how do you do that?
2. The second question is how to post code here? I saw that Brian posts the complete code and it is well organized in the forum. I tried to put code between ```, but it does not work.