I plan to use AB as my charting program and I have two sets of metastock data files in two different folders that I want to merge. Is there AB code that will loop through each file in one folder and merge with the appropriate data in the second folder? I don't know how to do it but I expect the code would need to do the following:
In Folder1, retrieve stock code for File1. Loop through each file in Folder2, open and check stock code. If stock codes match then merge data and save. Continue for each file in Folder1. Thank you in advance for any suggestions.