G
Guest
hi, i need some help on queries and sorting data. i have a query based on
data from two separate tables. the query is called "qryEvents". the
information in the query is basically information about events that are
coming up. i need to create an sql statement or something along this line so
that when the user opens the report (based on the query) they are shown the
next 5 events after todays' date.
one way i could do this is by using the "top values" property in the query
properties. however i plan on having a form that will open when the report
opens. i want to have option boxes on this form so that the user can select
how many records they want to see. an easy way would be to ask can u access
the query properties though the form. any ideas would be most welcome. thanks
data from two separate tables. the query is called "qryEvents". the
information in the query is basically information about events that are
coming up. i need to create an sql statement or something along this line so
that when the user opens the report (based on the query) they are shown the
next 5 events after todays' date.
one way i could do this is by using the "top values" property in the query
properties. however i plan on having a form that will open when the report
opens. i want to have option boxes on this form so that the user can select
how many records they want to see. an easy way would be to ask can u access
the query properties though the form. any ideas would be most welcome. thanks