>I need to combine 2 arrays that have the same structure. does anyone have a relatively simple solution. This is an archive routine that creates a file name based on the current date then looks in a directory for a file named the same, if found, a letter suffix is added to the file name. I use lnAnum=ADIR(laAuto,"A*.dbf") and lnMnum=ADIR(laMan,"M*.dbf")to create the arrays, with no luck in combining them so i do not have to loop through both separately looking for a file.
Create a CURSOR with the necessary structure, do an APPEND FROM ARRAY to add the content from each ADIR() result, and then use a SQL Select to a target array to extract them. you cna use the cursor to sort things while you're at it during the SQL Select to extract the combination.
>Thanks in advance, Chuck