//Using Small Business Code from PO Record in Subreport Accumulate Associated $
numbervar BC1;
WhilePrintingRecords;
shared stringvar BC;
// added following 2 statements to prevent doubling value on last record 10/23/06 (WET)
if shared stringvar BC = " BC1" and not onlastrecord then BC1 := BC1+{@PTEXT$};
if shared stringvar BC = " BC1" and onlastrecord then BC1 := BC1+{@PTEXT$}/2;
// deleted following statement to prevent doubling value on last record 10/23/06 (WET)
// if shared stringvar BC = " BC1" then BC1TOT := BC1TOT+{@PEXT$};
BC1
我在BC1+{@PTEXT$};
中收到錯誤消息,指出「此處需要一個數字」。在水晶報告表格的另一份副本上,我有相同的代碼,但沒有錯誤。任何想法在這裏?水晶報表問題
本報告中「@ TEXT $」的內容是什麼?另一份報告中「共享字符串BC」的內容是什麼? – LittleBobbyTables 2010-10-18 13:01:13
你能告訴我們你的公式{@PTEXT $}嗎?這可能是問題所在。 – PowerUser 2010-10-19 13:25:19