I have a form which has a number of fields, all of which need to be filled in.
I have set the required option on these fields to yes – but this just returns the standard Access error description. I need to write validation into the form but do not know where to put it. I tried writing it in the BEFORE UPDATE section and including a save record routine in the function but that didn’t work (so if the fields were okay it’d save, but if they weren’t it’d exit the sub routine).
I also need to write a routine which writes a combination of data into a field to make an identifier, and i’m not sure of the best place to write this either – AFTER INSERT seems to work fine, would there be any likely problems using this method?
Any help on either of these problems would be much appreciated – specially the save one as I am completely stuck.