{{tag>category:"OpenInsight 64-bit" author:"Kendal Hulbert" author:"Carl Pates"}} [[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]] ==== Popup_year (OpenInsight 64-bit) ==== === At 19 OCT 2021 06:03:50AM Kendal Hulbert wrote: === Can anyone point me to the help for the function popup_year. I have worked out the PARAM parameter is the year you want displayed, but what goes in to paramaters 'Options' amd 'Instructions'? ---- === At 19 OCT 2021 06:19AM Carl Pates wrote: === Hi Kendal, The POPUP_YEAR procedure uses the control with the current focus to determine the date and display location. The first argument (Options) can contain the first year and last year to allow as an @fm delimited list. E.g: options = "2021" : @fm : "2026" call popup_Year( options ) Any other arguments are for internal use only and are for responding to events from the dialog when it is executing. I'm not sure why Param (the 3rd argument) would work for you in the above situation? Regards, [email=cpates@revsoft.co.uk]Carl Pates[/email] ---- === At 19 OCT 2021 08:27AM Kendal Hulbert wrote: === Pity I cannot upload a screen shot but if I do as you say: Call popup_year(options) . I get a blank calendar, albeit with year options in the drop-down. Call popup_year('','',options). Gives me the full calendar with current date selected. Regards Kendal [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=BE3B57A3ACE6A944A8A0F975B49B7BB2|View this thread on the Works forum...]]