使用 Lotus Notes 中的公式显示视图中的唯一行
我创建了一个视图来显示信息。问题是它会显示重复的数据。 我的数据例如是:
Name Age Gender
Rene Florendo 12 Male
Rene Florendo 12 Male
Ariel Swiss 14 Male
Jeddie Indie 35 Female
我只想在下面显示:
Name Age Gender
Rene Florendo 12 Male
Ariel Swiss 14 Male
Jeddie Indie 35 Female
有关如何仅显示唯一数据的任何帮助。
I created a view to display an information. The problem is it will display the duplicate data.
My data for eg are:
Name Age Gender
Rene Florendo 12 Male
Rene Florendo 12 Male
Ariel Swiss 14 Male
Jeddie Indie 35 Female
I want to display only below:
Name Age Gender
Rene Florendo 12 Male
Ariel Swiss 14 Male
Jeddie Indie 35 Female
Any help please on how to display the unique data only.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
第一种可能性:
您应该检查排序列的属性:禁用“将多个值显示为单独的条目”
第二:
有多个文件具有相同的信息
第三:
在每列中使用公式 @Unique([FieldName])。例如:
@Unique(姓氏)
First possibility :
you should check the properties of columns sorted : disabled "Show multiple values as separate entries"
Second :
there are several documents with the same information
Third:
Use formula @Unique([FieldName]) in each column. Ex :
@Unique(LastName)
实际上有一种方法,如果您选择视图属性“对于 ODBC 访问:在索引中生成唯一键。”,视图将仅显示唯一行。它可能会导致其他类型的问题,但如果您只需要查看可能有效的条目。
Actually there is kind of way, if you select view property "For ODBC Access: Generate Unique Keys in Index.", view will show only unique rows. It can cause other sort of problems, but if you only need to view the entries that might work.
如果所有这些信息都在一个文档中,那么只有每个数组具有相同数量的元素时它才有效。然后,您在每列上选择“将多个值显示为单独的值”,但(这很重要)仅对其中的第一个进行排序。
如果您的列表必须按两行或多行排序,则必须在可见列前面有一个隐藏的排序列,如下所示
(例如,名字和姓氏是分开的)
每次使用附加排序列(属性显示多个值...)都会导致条目重复...
If all of that information is in one document, then it only works, if each array has the same number of elements. Then you select "Show multiple values as separate values" on each column BUT (and this is important) only sort the FIRST of it.
If your list has to be sorted by two or more of the lines, you have to have a hidden sort- column in front of your visible columns looking like
(example if Firstname and Lastname where separate)
Each usage of an additional sorted column (with the property show multiple values...) will result in duplication of entries...
如果这是在标准注释视图中,则该视图中没有任何内容可用于仅显示唯一值。
如果它通过 xpage 显示,但不是作为标准视图,您可能可以做一些事情。
或者,如果它是通过 Web 浏览器显示的,您可以编写一些 onLoad javascript 来检测重复项并隐藏重复行。
If this is in a standard Notes View, then there's nothing in the view you can use to display only unique values.
There might be something you can do if it's displayed via an xpage, but not as a standard view.
Alternatively if it's displayed via Web Browser you could write some onLoad javascript to detect duplicates and hide the duplicate rows.