2列的选择列表? [英] Choices list with 2 columns?
问题描述
我需要一个包含2列的选择列表.第一列是ID(数字),第二列是文本. ID列将用于排序我的列表,因为我不希望它按字母顺序排序.
I need a choices list that has 2 columns. First column is ID (numerical) and second is Text. The ID column will be used for sorting my list because I don't want it sorted alphabetically.
起初,我有一个查阅列,并且运行良好,直到我想在通过查阅列创建的另一个列表上使用该信息.我了解到一个查询列无法链接到另一个查询列.
At first I had a lookup column and it was working well until I wanted to use that info on another list I created with a lookup column. I learned a lookup column cannot link to another lookup column.
列表排名:ID,排名
清单1:
雇员编号,等级(查找列表排名),姓氏,姓名
Employe No, Rank (lookup to List Ranks), Surname, Inits
清单2:查找Employe否,其他列:等级,姓氏,初始化
List 2: Lookup Employe No, additional columns: Rank, Surname, Inits
我使用查找Employe No来从主列表1中创建一个列表.通过选择"Employe No",它会填充等级,姓氏和Inits,因此我不必重新输入此信息.因为我在列表1中使用了一个查询列作为Rank,所以Rank 列2的选择中未列出该列.
I used a lookup Employe No in order to create a list from the Main list 1. By selecting a Employe No, it populates the rank, Surname and Inits so I don't have to retype this info. Because I used a lookup column in list 1 for Rank, the Rank column isn't listed in the choice for List 2.
因此,在列表1上,我更改了选择列表"的列"而不是查找"列.有用.我现在可以在其他列表中使用该信息.我现在的问题是,我无法再按排名ID对列表1进行排序,因为它只是选择列表中的1列.
So on List 1, I changed the column Rank for a Choice List instead of Lookup. It works. I can use that info on another list now. My problem now is I can't sort List 1 by Rank Id anymore because it's only 1 column in the choice list.
我希望我的解释足够清楚.请注意,我没有SharePoint Designer.任何帮助将不胜感激.
I hope my explanation is clear enough. Please note I don't have SharePoint Designer. Any help will be much appreciated.
谢谢.
推荐答案
这是您的解决方法.
1.列表1中的等级列仍然必须是查找类型列,以便可以按等级ID对列表1进行排序.然后在列表1中添加一列具有相同值的字段hiddenrank(您可以根据需要命名)
作为排名列.下面是为列表1创建新列表项时的屏幕截图.
Here is a workaround for you.
1. The rank column in list 1 will still have to be a lookup type column so that list 1 could be sorted by rank id. Then in list 1 add a column called hiddenrank (you can name it whatever possible as you like) which has the same value
as the rank column. Below is a screenshot when creating a new list item for list 1.
2.下方使用了隐藏的列"列
2. Column hiddenrank is used below
最好的问候,
John Han
这篇关于2列的选择列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!