If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How can I sort information in a form by the year?
I am working with a form created years ago that you enter information into to
book different tours. What I want to know to do is to be able to scroll through the form and only have the current years information, but I also want to be able to have the past information saved somewhere so that I can still go back to it if need be. Can I make multiple files within the form or can I save it somehow and clear the form each year? |
#2
|
|||
|
|||
Just change the recordsource of your form with a different
filter for the year. Private Sub Form_Load() me.recordsource="Select * From MyTable Where TableYear= " & YearParm end sub -----Original Message----- I am working with a form created years ago that you enter information into to book different tours. What I want to know to do is to be able to scroll through the form and only have the current years information, but I also want to be able to have the past information saved somewhere so that I can still go back to it if need be. Can I make multiple files within the form or can I save it somehow and clear the form each year? . |
#3
|
|||
|
|||
Can anybody put the last message into simpler terms for me or suggest a
different way that I might be able to understand. I'm not very electronically inclined. To me, it looks like entering code and i don't know where to do that in Access. Thanks again "Ofer" wrote: Just change the recordsource of your form with a different filter for the year. Private Sub Form_Load() me.recordsource="Select * From MyTable Where TableYear= " & YearParm end sub -----Original Message----- I am working with a form created years ago that you enter information into to book different tours. What I want to know to do is to be able to scroll through the form and only have the current years information, but I also want to be able to have the past information saved somewhere so that I can still go back to it if need be. Can I make multiple files within the form or can I save it somehow and clear the form each year? . |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Query Only Creent Record? | Hulk | Running & Setting Up Queries | 10 | January 25th, 2005 06:39 PM |
open a form through a subform in access 2000 | Tammy | Setting Up & Running Reports | 12 | October 22nd, 2004 02:43 PM |
Strange stLinkCriteria behaviour on command button | Anthony Dowd | Using Forms | 3 | August 21st, 2004 03:01 AM |
synchronizing form and list box | Deb Smith | Using Forms | 8 | June 21st, 2004 08:15 PM |