這個問題並不新鮮,但我一整天都陷入困境。有人張貼前:Crystal Reports: Error on Sum in Formula Field。我有報告說,計算公式推通話收入佔總收入:Error in formula revenue: A number,current amount, date, time, or date-time is required here
如何解決這個任何意見將:Crystal report數據源爲空時的公式錯誤
if isnull({table.totalAmount}) and isnull({table.unpaidAmount})then 0 else
{table.totalAmount}-{table.unpaidAmount}
,如果數據源不是空的,但如果數據源空,拋出異常工作太好了!