Gemma was right. I had a command "stop" in the the end of a "Select Case ...End Select" sequence. I don't know why!, but it was highlighted in yellow, but compiled ok. When I removed it all was well. Thanks for all that.
However, after all the compiling and de-compiling, my database is in...