要解決這個問題,可以新增公式來解決。
公式 :
'中華民國'+Trim(ToText(Year(CurrentDate) - 1911, '#00')) + '年'
+ ToText(Month(CurrentDate), '00') + '月' +
ToText(Day(CurrentDate), '00')+'日'
Roger 發表在 痞客邦 留言(0) 人氣(244)
if IsNull({資料表欄位}) then
"N"
else
"Y"
Crystal Report 判斷是否為空值,用函數 IsNull 來處理即可...
Roger 發表在 痞客邦 留言(0) 人氣(2,495)
格式化欄位 —> 數位 -> 自定義 -> 數位 -> 小數位數(D) -> 編輯公式 :
if Right(ToText({你的報表欄位},4),4) ="0000" then
0
else if Right(ToText({你的報表欄位},4),3) ="000" then
1
else if Right(ToText({你的報表欄位},4),2) ="00" then
2
else if Right(ToText({你的報表欄位},4),1) ="0" then
3
else
4
Roger 發表在 痞客邦 留言(0) 人氣(1,705)
問題:
分群組時,每一個Group會自成一頁
但是最後Report Footer也會自成一頁
若Report Footer沒有資料,會多一個空白頁
解決方法:
在New Page After(在之後設頁碼)選項
右邊按鈕內,填上
not onLastRecord
Roger 發表在 痞客邦 留言(0) 人氣(4,038)