P
PJ
Hi All,
I want to validate to either alllow or deny a user's entry to certain combo
boxes in the form. The comboxes have the lists from another table. So this
is what I have in the BeforeUpdate
if cboPlace <> "Away" or cboPlace <> "Home" or cboPlace <> "Dont Know" then
me.undo
cboPlace.SetFocus
end if
but that's not working. Please help.
And other cbos are pulling from a table, which has a lot more data, how do i
go about validating that without having to hardcode it? Thanks.
I want to validate to either alllow or deny a user's entry to certain combo
boxes in the form. The comboxes have the lists from another table. So this
is what I have in the BeforeUpdate
if cboPlace <> "Away" or cboPlace <> "Home" or cboPlace <> "Dont Know" then
me.undo
cboPlace.SetFocus
end if
but that's not working. Please help.
And other cbos are pulling from a table, which has a lot more data, how do i
go about validating that without having to hardcode it? Thanks.