各位前輩們:幫幫我吧:我用crystalreport做的報表,可是為甚麼只顯示設計時的那個數據,而不顯示我所傳送的數據,我用的是access數據庫,就該怎樣更新報表的數據?
心急如焚!等著交付使用
dim spath,sprintpath as string
sPath = App.Path
sPrintPath = sPath & "\Reports\" & "'"
******
 sAccessPath = sPrintPath
 sAccessPath = sAccessPath & "labledtl.mdb"
  cr.ReportFileName = sPrintPath & "\labledtl.rpt"
************傳送數據************
cr.WindowState = crptMaximized
 cr.Destination = crptToWindow
 cr.WindowHeight = Screen.Height
 cr.WindowWidth = Screen.Width
 cr.WindowTitle = 0
 cr.WindowLeft = 0
 cr.Action = 1
arrow
arrow
    全站熱搜

    vbqa 發表在 痞客邦 留言(1) 人氣()