现判定QRExpr.Value.Kind然后读取QRExpr的Value(以下是QuickReport的FAQ关于此类的解释) 
The "Value" property of a TQRExpr component is of type TQREvResult, which is defined in qrprntr.pas.  You can check "Value.Kind" to see what the datatype is.  The following table shows how to retrieve the results of the expression based on the value of "Value.Kind"
    If Value.Kind = resInt then the results of the expression are in Value.IntResult
    If Value.Kind = resDouble then the results of the expression are in Value.DblResult
    If Value.Kind = resString then the results of the expression are in Value.StrResult (defined as string[255])
    If Value.Kind = resBool then the results of the expression are in Value.BooResult
    If Value.Kind = resError then the expression had an error