Novice here.
I exported a macro to a Module and learned quite a bit. I am trying to do an unattended procedure which will delete many records in a series of tables. It would stop to ask if I really wanted to delete the records. I decided Keypress would work to answer the question (being completely ignorant of more elegant ways).
1. What is a better way to get Access not ask the question.
2. I notice it ran great with no questions as long as no other program was open. If I had Word open, I would get the "Y" inserted into my document and Access would then ask me the question. So do I need to make the function "private" or something?
Thanks.
I exported a macro to a Module and learned quite a bit. I am trying to do an unattended procedure which will delete many records in a series of tables. It would stop to ask if I really wanted to delete the records. I decided Keypress would work to answer the question (being completely ignorant of more elegant ways).
1. What is a better way to get Access not ask the question.
2. I notice it ran great with no questions as long as no other program was open. If I had Word open, I would get the "Y" inserted into my document and Access would then ask me the question. So do I need to make the function "private" or something?
Thanks.