Hi all
I keep getting runtime error 2427. This form has been working fine up until today. it just started with the error.
Basically depending on how much a client has invested it will show different images like Gold, Silver & Bronze. The problem only happens on clients who havent invested anything
Any help please
Thanks
Dim ctl As Control
Set ctl = Me!OverallTotal
If ctl >= 0 And ctl <= 3000 Then
Me!silver.Visible = False
Me!gold.Visible = False
Me.bronze.Visible = True
Me.ClientType = "3"
ElseIf ctl >= 3001 And ctl <= 10000 Then
Me!bronze.Visible = False
Me!gold.Visible = False
Me!silver.Visible = True
Me.ClientType = "2"
ElseIf ctl > 10001 Then
Me.bronze.Visible = False
Me.silver.Visible = False
Me!gold.Visible = True
Me.ClientType = "1"
Else
Me.bronze.Visible = False
Me.silver.Visible = False
Me!gold.Visible = False
Me!ClientType = Null
End If
I keep getting runtime error 2427. This form has been working fine up until today. it just started with the error.
Basically depending on how much a client has invested it will show different images like Gold, Silver & Bronze. The problem only happens on clients who havent invested anything
Any help please
Thanks
Dim ctl As Control
Set ctl = Me!OverallTotal
If ctl >= 0 And ctl <= 3000 Then
Me!silver.Visible = False
Me!gold.Visible = False
Me.bronze.Visible = True
Me.ClientType = "3"
ElseIf ctl >= 3001 And ctl <= 10000 Then
Me!bronze.Visible = False
Me!gold.Visible = False
Me!silver.Visible = True
Me.ClientType = "2"
ElseIf ctl > 10001 Then
Me.bronze.Visible = False
Me.silver.Visible = False
Me!gold.Visible = True
Me.ClientType = "1"
Else
Me.bronze.Visible = False
Me.silver.Visible = False
Me!gold.Visible = False
Me!ClientType = Null
End If