Hi,
I have a query, which when run asks for the start_date and end_date, it then uses these dates to establish what bookings exist between those two dates (and if a booking straddles either side (or both), it works out what part is between the two dates)
When it runs, it prompts for the start_date and end_date and then retrieves the data - alls well, however, how do I call this passing in the parameters from a report (or even another query for that manner)?
I have tried select * from query_name where start_date=x and end_date=y, but I still get prompted for the values
My aim is to produce a report on bookings which reside in the month
What am I missing ?
Thanks in advance
Richard
I have a query, which when run asks for the start_date and end_date, it then uses these dates to establish what bookings exist between those two dates (and if a booking straddles either side (or both), it works out what part is between the two dates)
When it runs, it prompts for the start_date and end_date and then retrieves the data - alls well, however, how do I call this passing in the parameters from a report (or even another query for that manner)?
I have tried select * from query_name where start_date=x and end_date=y, but I still get prompted for the values
My aim is to produce a report on bookings which reside in the month
What am I missing ?
Thanks in advance
Richard