Report.saved Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the report has been saved to disk.
public:
virtual bool saved();
public virtual bool saved ();
abstract member saved : unit -> bool
override this.saved : unit -> bool
Public Overridable Function saved () As Boolean
Returns
true if the report has been saved to disc; otherwise false.
Remarks
A report in the AOT can only be run if it has been saved to disk.
The following example demonstrates the saved method.
static void testReportSaved(args a)
{
report r;
reportRun rr;
r = new report();
r.AddDesign();
print "before save, saved : ", r.Saved(); pause;
r.saved();
print "after save, saved : ", r.Saved(); pause;
rr = new reportrun(r);
rr.Run();
}