Hi All
Who can help me out with this situation...
a form, with some items and data
on this form, a list box named check1 that returns the value of a query (only one record/value)
and a commandbutton
------------------------------------------
target: when i click the button, the value in check 1 needs to be within a specific range (between -1 and 1)
if this is the case, execute some action
if not: messagebox
-----------------------------------------
this is what i have so far
If check1.Value > -1 And check1.Value < 1 Then
DoCmd.OpenQuery ("qry_append")
Else
MsgBox "Document not OK"
End If
------------------------------------------
apparently this does not work... can i use a between function?...
who can help me out...
thanks in advance
Who can help me out with this situation...
a form, with some items and data
on this form, a list box named check1 that returns the value of a query (only one record/value)
and a commandbutton
------------------------------------------
target: when i click the button, the value in check 1 needs to be within a specific range (between -1 and 1)
if this is the case, execute some action
if not: messagebox
-----------------------------------------
this is what i have so far
If check1.Value > -1 And check1.Value < 1 Then
DoCmd.OpenQuery ("qry_append")
Else
MsgBox "Document not OK"
End If
------------------------------------------
apparently this does not work... can i use a between function?...
who can help me out...
thanks in advance