
Works great! Thanks again...
I installed in Samples\Customers, same as designed against for quick test. Only changes I had to make was to hard code the Report Path (mine also go to Report Path Variable), and added
this line for easy validation.
Quote: If @Len(vReport) > 0
{
@MsgBox("Last Report Name was: " + vReport, "", "")
// Do Outlook stuff
}
Else
{
@MsgBox("NO REPORT FOUND!", "", "")
}
Now that I know it works, I will be able to insert that into my real application, just need to come up with a renaming scheme now. Want to rename ReportNameDateTime.htm into GenericName.txt vs. .htm. But now that I know the name I should be able to use @Shell to rename it, or to add to a Zip file. The key was knowing the name, and you have solved that.
It may still be a good idea to provide a future option to provide prompting tools at run time for path/reportname.
Thanks again Erika.....despite my constant requests for more and more, you still come through for me.