The Contractor Docs screen displays a Start and End date that can be used for license printing. At the beginning of the year the date range is January to December, but then it automatically switches to July to June later in the year. I had a customer who wanted to keep the dates at January to December no matter what. This is how you do it. Start a script for the "Contractor" Module. Choose "ContDoc" for Screen, and leave the Action at "Screen". The script would be:
contdocs.startday = "January "+STR(YEAR(DATE()),4)
contdocs.endday = "December "+STR(YEAR(DATE()),4)
Showing posts with label documents. Show all posts
Showing posts with label documents. Show all posts
5/22/2017
3/03/2010
Changing the Default Document
By default the document screen for any database always has the top document option selected when the screen is launched. We had a customer who wanted to default to the Nuisance Letter option instead of the Violation Letter when the Violation Documents screen launched. To do this we created a script that used "Zoning" as the Module, "ViolateDoc" as the Screen, and "Screen" as the Action. The script is:
vdocs.doc_select.value = 4
vdocs.doc_select.value = 4
Subscribe to:
Comments (Atom)