firestorm998
Registered User.
- Local time
- Today, 14:45
- Joined
- Nov 28, 2006
- Messages
- 24
I've had a copy record button on a form for some time which functioned fine. Recently I have added the below to a combo box, which also works, but since I added it the copy record button no longer works and returns a Runtime Error -'Update of Cancelupdate without Addnew or Edit'.
I'd appreciate any suggestions,thanks.
Private Sub Event_Type_AfterUpdate()
If Me.Event_Type = "Rights Issue" Then
Me.Option_1 = "Subscribe Rights"
Else: Me.Option_1 = " "
End If
If Me.Event_Type = "Rights Issue" Then
Me.Option_2 = "Sell Rights"
Else: Me.Option_2 = "Take No Action"
End If
If Me.Event_Type = "Rights Issue" Then
Me.Option_3 = "Lapse Rights"
Else: Me.Option_3 = " If Short-Cover Short"
End If
If Me.Event_Type = "Rights Issue" Then
Me.Option_4 = "Take No Action"
Else: Me.Option_4 = " "
End If
If Me.Event_Type = "Rights Issue" Then
Me.Option_5 = "If Short-Cover Short"
Else: Me.Option_5 = " "
End If
If Me.Event_Type = "Rights Issue" Then
Me.Option_6 = "N/A"
Else: Me.Option_6 = " "
End If
End Sub
I'd appreciate any suggestions,thanks.
Private Sub Event_Type_AfterUpdate()
If Me.Event_Type = "Rights Issue" Then
Me.Option_1 = "Subscribe Rights"
Else: Me.Option_1 = " "
End If
If Me.Event_Type = "Rights Issue" Then
Me.Option_2 = "Sell Rights"
Else: Me.Option_2 = "Take No Action"
End If
If Me.Event_Type = "Rights Issue" Then
Me.Option_3 = "Lapse Rights"
Else: Me.Option_3 = " If Short-Cover Short"
End If
If Me.Event_Type = "Rights Issue" Then
Me.Option_4 = "Take No Action"
Else: Me.Option_4 = " "
End If
If Me.Event_Type = "Rights Issue" Then
Me.Option_5 = "If Short-Cover Short"
Else: Me.Option_5 = " "
End If
If Me.Event_Type = "Rights Issue" Then
Me.Option_6 = "N/A"
Else: Me.Option_6 = " "
End If
End Sub