Sorry, but you need to be a bit more detailed in your questions. It sounds like you are trying to use a query as the source for a form, but the query you are trying to use is some kind of action query. Action queries are Update, Append, Make Table, Delete etc.
Could you please provide more detail? What exactly are you doing when you get this messge?