how to call and sort data in a view?

我与影子孤独终老i 提交于 2019-12-11 10:37:03

问题


I have two view, one is sorting 2011 data and the other one is sorting the 2012, 2013 is coming and I think, create another view is not good. Then I tried to code a formula to call the data in my database and send to view but it's not working .

please help me :)


回答1:


I think your best option is to create another view. Notes doesn't do well with dynamic view selection formulas.

Another alternative to consider is to use categories to group data by year. You could then set up an embedded view that shows only a single category, which could be determined by a drop-down field that shows the available years.




回答2:


A solution I have used when dealing with weekly or monthly date is to use an agent to create a new folder every week and to put the correct documents in the folder. But this is a lot of work and if there is a high volume of data you can run into problems with some of the internal limits of the Notes database structure. Someone with expert level knowledge of Notes can probably manage this, but I do not recommend it as a general solution -- and certainly not for yearly data.

Adding a view once a year is really not that bad. It's two minutes of work every 12 months, just copying and renaming the previous year's view and changing the selection formula.



来源:https://stackoverflow.com/questions/13504623/how-to-call-and-sort-data-in-a-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!