Hi,What I really want is to select documents based on a year which the user enters…
But in the meantime, I am just trying to select documents of a certain date, to see if I can get @SetViewInfo to work at a very basic level.
I have the following code in the PostOpen for the view:
@SetViewInfo([SetViewFilter];“14/09/2004”;SubmitDate;1)
I have also tried
@SetViewInfo([SetViewFilter];“14/09/2004”;“SubmitDate”;1)
and
@SetViewInfo([SetViewFilter];14/09/2004;“SubmitDate”;1)
However, when clicking on the view I just get “Category Not Found” down the bottom, instead I want it to display the documents with a submitdate of 14/09/2004 for example. The first column is a categorised one. In it, I simply have the field name “SubmitDate” selected from the list of field names.
The field itself is Date/Time editable…
Any ideas how to make it just select that one document (or ideally just ones for a year which the user selects?
I’m tired of writing specific code for this db every year, what to avoid the task next year, so the user can just select which year they want etc…
Any ideas?