Share via


Report.saved Method

Definition

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(); 
}

Applies to