LjushaMisha
Registered User.
- Local time
- Tomorrow, 00:23
- Joined
- Mar 10, 2017
- Messages
- 55
Hello. I have a PEACE of code looking like that:
Dim ElKup1 As String
Dim sq As String
ElKup1 = (Forms!frmNotInList!Combo6.Column(1)) & " " & Forms!frmNotInList!Combo0.Column(1)
sq = "Update tblElements Set ElementName = ElKup1 WHERE ElementName=null;"
DoCmd.RunSQL sq
When I run the sub I (F5 or OnClick Event) get pop window asking me to input parameter's ElKup1 value.
What I'm doing wrong? Can Somebody help me?
Dim ElKup1 As String
Dim sq As String
ElKup1 = (Forms!frmNotInList!Combo6.Column(1)) & " " & Forms!frmNotInList!Combo0.Column(1)
sq = "Update tblElements Set ElementName = ElKup1 WHERE ElementName=null;"
DoCmd.RunSQL sq
When I run the sub I (F5 or OnClick Event) get pop window asking me to input parameter's ElKup1 value.
What I'm doing wrong? Can Somebody help me?