noister
Nov 5th, 2008, 02:28 AM
CR8, VB6
please help! why print button still keeps disabled. what missing with my codes. i already put TRUE value in the properties value of 'WindowShowPrintBtn' and also added in my code to make sure. but, still it's disabled. :confused:
here's some part of my code.'show report
cr.ReportFileName = App.Path & "\report\" & strReportFile
cr.Connect = sql_host & ";UID=" & sql_user & ";PWD=" & sql_pass & ";DSQ=" & sql_db & ";"
cr.RetrieveDataFiles
cr.SQLQuery = strQry
cr.WindowState = crptMaximized
cr.WindowShowPrintBtn = True
cr.Action = 1
errorMe: gotoErrHandler
please help! why print button still keeps disabled. what missing with my codes. i already put TRUE value in the properties value of 'WindowShowPrintBtn' and also added in my code to make sure. but, still it's disabled. :confused:
here's some part of my code.'show report
cr.ReportFileName = App.Path & "\report\" & strReportFile
cr.Connect = sql_host & ";UID=" & sql_user & ";PWD=" & sql_pass & ";DSQ=" & sql_db & ";"
cr.RetrieveDataFiles
cr.SQLQuery = strQry
cr.WindowState = crptMaximized
cr.WindowShowPrintBtn = True
cr.Action = 1
errorMe: gotoErrHandler