Hello,
I have a continuous form, and i'm trying to set an image for each line in a cell named "assignType " based on its type. If type = 1 -> set ImageText, if type = 2 -> set ImageDecision. I tried to do this with Select Case, but the problem is it only remembers the last Case he was in. To make it more clear:
So if the last record on a form is assign with type 2, then all the lines will have ImageDecision. Does anyone know how i can fix this?
Thanks in advance
I have a continuous form, and i'm trying to set an image for each line in a cell named "assignType " based on its type. If type = 1 -> set ImageText, if type = 2 -> set ImageDecision. I tried to do this with Select Case, but the problem is it only remembers the last Case he was in. To make it more clear:
Code:
Dim rs As DAO.Recordset
Set rs = Me.RecordsetClone
Do While Not rs.EOF
Select Case rs("assignType")
Case 1:
ImageText.Visible = True
Case 2:
ImageDecision.Visible = True
End Select
rs.MoveNext
Loop
Thanks in advance
Comment