But Media name works! If there is value in Me.txtMedijNaziv than strMedijNaziv is that value(exactly, or part of it). If I leave field blank than query shows all records.
For the rest of it...you gave me something to think about. I'm new to this VBA stuff, but really determined to learn it. Just, there is always more than one way to skin the cat, and I must learn not to mix things that doesn't belong together.
It will come with time and practice, right?
Many thanks, both to you and pr2-Eugene, for your time to teach me, and effort to correct my code.
You are great, guys!
For the rest of it...you gave me something to think about. I'm new to this VBA stuff, but really determined to learn it. Just, there is always more than one way to skin the cat, and I must learn not to mix things that doesn't belong together.
It will come with time and practice, right?
Many thanks, both to you and pr2-Eugene, for your time to teach me, and effort to correct my code.
You are great, guys!