ianmuir Posted January 15, 2010 Posted January 15, 2010 Hi, I have a layout called "Diary" it shows the current date at the top. The records below are a found set of the current date. I need 2 buttons, one to step forward through the days and one to step back through the days. any help would be appreciated.
bcooney Posted January 15, 2010 Posted January 15, 2010 Hmm. Can't picture this. The records represent what, events, appointments? How are you showing the current date at the top? How did the user get here? When is the find done? Could you use a filtered portal instead of a list view? Are you really using FM9 (like to know bcs script triggers may be useful).
ianmuir Posted January 16, 2010 Author Posted January 16, 2010 HI, a script searches a field named "Status" for the text "booked" on the current day. The jobs are shown on a report. A field at the top called "date" is inserted with the current date. Yes file maker 9 im using.
David McQueen Posted January 16, 2010 Posted January 16, 2010 Maybe I am missing something here, but why not just havea global date field and relate it to the dated record entries. Then show the data in a portal or using a script "go to related records". Increment with a script that sets g_date to g_date+1. HTH Dave
bcooney Posted January 16, 2010 Posted January 16, 2010 I like the filtered portal idea for pre-FM10 bcs it is "live". Change the gDate filter and the portal content updates. The global date at the top of a list view in FM9 relies on the user clicking a button (to gtrr current layout). If they just change the gDate, and don't click, the list view is not showing the correct found set.
David McQueen Posted January 16, 2010 Posted January 16, 2010 I like the filtered portal idea for pre-FM10 bcs it is "live". Change the gDate filter and the portal content updates. The global date at the top of a list view in FM9 relies on the user clicking a button (to gtrr current layout). If they just change the gDate, and don't click, the list view is not showing the correct found set. Can be a bear with a portal too. I have had to put in a button that does nothing on occasion so that they click outside and cause a relational update. It was not pretty, but it worked.
Recommended Posts
This topic is 5426 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now