// For an open DSDB file, this macro shows the version of the
// product that is was originally saved from.

var filePath, detailString;

filePath = DS.ActiveFile;

if( filePath != "" )
    detailString = DS.FileDetails( DS.ActiveFile );
else
    detailString = "This file has not been saved yet.";

WBScript.Out( detailString, true );
