How do I write this, I do know the code needs to go on the before update of the form
If a quanity is entered then defect_descripion must contain something.
I've tried:
If quanity <=0 then
defect_descripion not null or defect_descripion =""
msgbox "you must select a defect descripion"
I have the this part of the code
me.defect descripion.setfocus
cancel = true
end if
end sub
please help I'm at my wits end
If a quanity is entered then defect_descripion must contain something.
I've tried:
If quanity <=0 then
defect_descripion not null or defect_descripion =""
msgbox "you must select a defect descripion"
I have the this part of the code
me.defect descripion.setfocus
cancel = true
end if
end sub
please help I'm at my wits end