Quote:
Originally posted by RobDog888
Not quite. The line WHERE ((([Main].[Hospital])<>[Which
Hospital?])); will prompt the user to enter the hospital name not
to delete three times because there are three alias', I believe,
and the fourth will be deleted since it was not entered. [Which
Hospital?] is an unknown field so Access (I assume) will prompt
you for the value of that field to use.
Yes, Access currently prompts for the parameter, but only does so once. I want to put this in code instead of using a built in query, using an input box to get the hospital to keep. Something like