iankerry
Registered User.
- Local time
- Today, 21:46
- Joined
- Aug 10, 2005
- Messages
- 190
Hi,
I have an events database with 500 different events in it. I have built it from scratch but very slowly over the years.
On a continuous form I have a GO TO TODAY button which goes to the record for today. If there is one.
[datefield].SetFocus
RunCommand acCmdSortAscending
DoCmd.FindRecord Date
Is there some code I can use for the days when I don't have an event, but I want to go to the day nearest today but after it. So if the date was 2/10/07, but I didn't have a record/event for that day, it would go to the record for the 5/10/07 when I do have one.
many thanks
ian
I have an events database with 500 different events in it. I have built it from scratch but very slowly over the years.
On a continuous form I have a GO TO TODAY button which goes to the record for today. If there is one.
[datefield].SetFocus
RunCommand acCmdSortAscending
DoCmd.FindRecord Date
Is there some code I can use for the days when I don't have an event, but I want to go to the day nearest today but after it. So if the date was 2/10/07, but I didn't have a record/event for that day, it would go to the record for the 5/10/07 when I do have one.
many thanks
ian