Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2008 Server
>>>>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement