A
Adam
Not a terribly hard problem, just cant get it right.
Im trying to assign a combo box the value "Reset Form" after a different
combo is updated, so in my "after update" of a combo i have:
Me.cboOwner = "RESET FORM"
Me.cboRigName = "RESET FORM"
Me.cboMooringLines = "RESET FORM"
cboOwner and cboRigName change to "RESET FORM" after the update.
cboMooringLines is a NUMBER; the values in the dropdown of the combo box are
all number values. I think this where i keep getting hung up, so i think i a
"#" somewhere? I have the identical problem on the same form with a box
cboDateRevised which is a combo with dates in it (in the form of XX/XX/XXXX).
In other code on the form i had to do something like this for the
cboDateRevised to work:
If Not IsNull(Me.cboDateRevised) Then
strWhere = strWhere & "([Date Last Revised] = #" & Me.cboDateRevised & "#) "
End If
I may of made it sound complicated, sorry, but simply i just need ot
reassign the value of my combo box to "RESET FORM", and the combo happens to
contain number values currently.
Thanks in advance, i always get great help on this forum.
Adam.
Im trying to assign a combo box the value "Reset Form" after a different
combo is updated, so in my "after update" of a combo i have:
Me.cboOwner = "RESET FORM"
Me.cboRigName = "RESET FORM"
Me.cboMooringLines = "RESET FORM"
cboOwner and cboRigName change to "RESET FORM" after the update.
cboMooringLines is a NUMBER; the values in the dropdown of the combo box are
all number values. I think this where i keep getting hung up, so i think i a
"#" somewhere? I have the identical problem on the same form with a box
cboDateRevised which is a combo with dates in it (in the form of XX/XX/XXXX).
In other code on the form i had to do something like this for the
cboDateRevised to work:
If Not IsNull(Me.cboDateRevised) Then
strWhere = strWhere & "([Date Last Revised] = #" & Me.cboDateRevised & "#) "
End If
I may of made it sound complicated, sorry, but simply i just need ot
reassign the value of my combo box to "RESET FORM", and the combo happens to
contain number values currently.
Thanks in advance, i always get great help on this forum.
Adam.