Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyway to store FRX name from closed FRX report?
Message
 
 
To
10/01/2015 14:57:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01613369
Message ID:
01613439
Views:
39
>>>>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.

Not a bad suggestion and I will keep this in the mind for the future.
Previous
Reply
Map
View

Click here to load this message in the networking platform