Ok, this should be simple but of course it can't be.
I have a valid event I use to check for the existance of an item in our inventory masterfile. This event is just for a warning, not to ever stop someone from entering 'bad data'.
Example:
Valid event
Select Icitem
Locate for icitem.item = this.value
if EOF()
=messagebox("Warning! This item is not in the master file")
endif
Simple enough right?
Well the problem is that I have a button. If you happen to be in the field that is getting validated and you click the button, the valid event fires; but then the code in the click method of the button never runs. For some reason the valid event code is cancelling out the code in the button.
Any ideas? What am I missing here?
Greg