Hello Everyone,
I am creating an inventory database and I am going to be using a scanner for this project. I have Mainform (Switchboard) which is unbound and Subform "frm_ScannedTags"(continous form).
I would like it to work like this. When I scan the barcode and if it is equal to the barcode number the image on the mainform would be visible if not it is false.
What I have does not seem to be working. The below code I have inserted into the mainforms OnCurrent event.
[blue]
If Me!frm_ScannedTags.Form!ScannedinvNumber = 941441 Then
Me!Image425.Visible = True
Else
Me!Image425.Visible = False
End If
EndSub[/blue]
I am creating an inventory database and I am going to be using a scanner for this project. I have Mainform (Switchboard) which is unbound and Subform "frm_ScannedTags"(continous form).
I would like it to work like this. When I scan the barcode and if it is equal to the barcode number the image on the mainform would be visible if not it is false.
What I have does not seem to be working. The below code I have inserted into the mainforms OnCurrent event.
[blue]
If Me!frm_ScannedTags.Form!ScannedinvNumber = 941441 Then
Me!Image425.Visible = True
Else
Me!Image425.Visible = False
End If
EndSub[/blue]