I know how to do parameters for a query. I want parameters from windows and not from an access form. For example vbOK that asks you for date start and date end. If this isn't possible just let me know and I can just use an Access form like I was doing before.