July 26, 200520 yr 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
July 26, 200520 yr 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
July 26, 200520 yr 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 ) )
July 26, 200520 yr Good Morning JT. Up early today, aren't you. [color:red]Or go into layout mode and move the buttons. :)
July 27, 200520 yr Author 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
Create an account or sign in to comment