ino Posted July 26, 2005 Share Posted July 26, 2005 This is an example how You can manipilate with date field in Browse mode. This example uses a one date global field, few buttons with script parametar and only one script.[color:red][color:red] Happy Filemakering... :) DateScroll.fp7.zip Picture_DataScroll.png.zip Link to comment Share on other sites More sharing options...
Lee Smith Posted July 26, 2005 Share Posted July 26, 2005 Hi ino, Thanks for sharing. Nice idea. Only one problem that I found. When I click the Up and Down Arrow for the date, it changes the month, and when I click on the Up and Dow Arrow for the Month, it changes the Day. Lee Link to comment Share on other sites More sharing options...
-Queue- Posted July 26, 2005 Share Posted July 26, 2005 Hi Lee, this makes sense because Ino's version formats dates as dd/mm/yy. For a simplified US version, use Let([ var1 = Get(ScriptParameter); var2 = If( var1 < 4; 1 ; -1 ); M = Mod( var1; 3 )]; Date( Month(DateScroll::gDate) + var2 * (M = 1); Day(DateScroll::gDate) + var2 * (M = 2); Year(DateScroll::gDate) + var2 * not M ) ) Link to comment Share on other sites More sharing options...
Lee Smith Posted July 26, 2005 Share Posted July 26, 2005 Good Morning JT. Up early today, aren't you. [color:red]Or go into layout mode and move the buttons. :) Link to comment Share on other sites More sharing options...
ino Posted July 27, 2005 Author Share Posted July 27, 2005 Hi Lee, Sorry for mistake, I tray to correct this with new att. Pls. try. Hope so it will work... Ino Happy Filemakering :thanks: DateScrollINT.fp7.zip Link to comment Share on other sites More sharing options...
Recommended Posts