Resolved - Cmd Button Array
Hi
I do not know much about arrays but I have 4 cmd buttons on my
form these will do exactly the same except for the printed results
which will be a little different i.e
How can I put this into an array but change the printed result
depending on which button is pressed
my code
VB Code:
Private Sub cmdashft_Click()
Select Case Intwndprogress
Case Is = 10
txtinformation.Text = "J"
PicresultsShft.Print "Packers_Shift"; vbCrLf & CStr(txtinformation)
cmdashft.Caption = ""
cmdbshft.Caption = ""
cmdcshft.Caption = ""
cmddshft.Caption = ""
txtinformation.SetFocus
txtinformation.maxlength = 11
txtinformation = ""
Call wndprogres
End Select
Lbltext.Caption = "Please enter code"
validate_product_code
End Sub
Thanks