Good Evening Everyone,
I have a problem that I hope somebody can lead me in the right direction. I have tried to research this but it seems the issues that I read which may pertain to my problem got technical to the point that I could not follow. Anyway, I use to have a form that worked off of a parameter query where it would ask which month you want the records for and the user would put in a month number from 1-12 and then once entered the records for that month would be viewable on that form.
That worked fine until the user did not want to have to type in the number anymore but preferred to have it open up to the records of the current month. So I changed the parameter to 'Month(Now()) which works exactly how he wants it. He opens the form and it populates with all the records for the current month. Now I am trying to figure out how I can use a command button that when it is clicked will ask which month you want to view and then you would put in the month number again. Seems to be hard for me to figure this out. I tried playing around with code using the requery but I am probably not using it correctly. I think I need to somehow change that Month(Now()) that is in the query but I don't know if that can be done from the command button. If anyone has come across this type of problem before I would appreciate any suggestions you could offer. Thanks in advance!
Dave