94Sport5sp
Registered User.
- Local time
- Today, 13:04
- Joined
- May 23, 2012
- Messages
- 115
Hi:
For the application I am developing I have created a X Tab Query to produce a listing in a form (use is unlikely to print this) showing the results of the X Tab Query. Now I need to find some way to automate the query to limit the information based on date. So I am looking for suggestions. I am using A2003 to develop the this application
The first issue is to allow the user to specify the date (start and end) period. I found the Date Picker Control and added it to the form. I tried to preset the date but Access tells me the control is read-only. Is there a better way to do this? How do I tell the query what dates to list?
Secondly, in the query I created I use the IN clause to control the output order of the columns. Can I use code to change this order? I am thinking if a new value occurs in the future then the X Tab would not list the new column until I updated the query. Would I be better off to put the query in code and then run the SQL statement from within code?
Thanks for your thoughts
For the application I am developing I have created a X Tab Query to produce a listing in a form (use is unlikely to print this) showing the results of the X Tab Query. Now I need to find some way to automate the query to limit the information based on date. So I am looking for suggestions. I am using A2003 to develop the this application
The first issue is to allow the user to specify the date (start and end) period. I found the Date Picker Control and added it to the form. I tried to preset the date but Access tells me the control is read-only. Is there a better way to do this? How do I tell the query what dates to list?
Secondly, in the query I created I use the IN clause to control the output order of the columns. Can I use code to change this order? I am thinking if a new value occurs in the future then the X Tab would not list the new column until I updated the query. Would I be better off to put the query in code and then run the SQL statement from within code?
Thanks for your thoughts