this is for my 'print invoice' command button but when i run the program in VB6( i have to use this for my A Level corse, so plz no reply's saying its an old program because i know) i get the following message :"compile error : variable not defined", and the "Private Sub cmdPrint_Click()" is highlighted in yellow + "frmInvoice" is highlighted in blue. what does this mean and how can i fix it?
Question
LouisMoore16
Private Sub cmdPrint_Click()
cmdPrint.Visible = False
frmInvoice.PrintForm
cmdPrint.Visible = True
End Sub
???????????????????????????????
this is for my 'print invoice' command button but when i run the program in VB6( i have to use this for my A Level corse, so plz no reply's saying its an old program because i know) i get the following message :"compile error : variable not defined", and the "Private Sub cmdPrint_Click()" is highlighted in yellow + "frmInvoice" is highlighted in blue. what does this mean and how can i fix it?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts