>>>Anyone know of a way that if I save a new report with a different name (File... Save as....), in code I can them catch the name of that report that was just saved?
>>>
>>>Thanks in advance....
>>>
>>>Mel
>>Hi,
>>I would say depends how you save your report file. Please upload the code doing that.
>>Regards,
>>Koen
>
>
>Really no code, just isuue command:
>
>MODIFY REPORT WHATEVER
>
>Then select File.... Save As...... to save the report under a different name. I am wondering if there is a way to get that File name I just saved.
>
>Thanks for your help.....
Simple. Use Adir() to get an array of all the files, and asort() on the array to find the newest one.