|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
Is it possible to attach a script to a screen query button that will perform the sort of search: Find >= (today's date - 30 days) in the accession date field and return a list of results.
I am interested in perhaps having a feature that would enable users of a textbase to then run sch a script which might automatically email them the results. |
|||
|
The following script button will perform the search (assuming you name your script button "button" and the query box for the date field "boxDate").
function button_onClick() { Form.boxes("boxDate").content = "@DATE - 30"; Command.executeQuery(); } You could then have another script button that would send the e-mail using Command.sendMailEx(SendMailDescriptor) as described in the "Command Object" topic in the DB/TextWorks Help. |
||||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

