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.![]()
here's some part of my code.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




Reply With Quote