在下面的示例中,报告作者创建了一个简单列表报告,报告只包含一个投射数据项Year,它使用带有如下caption函数的Year级别。
In the following example, the report author creates a simple list report that contains only a projected data item called Year, which USES the Year level with the caption function as follows.
在这个场景中,列表对象需要关联到一个新的主查询,该查询只包含没有摘要过滤器的Productline数据项。
In this scenario, the list object will need to be associated to a new master query which consists of only the Product line data item with no summary filter.
用于访问数据项的索引只声明集合中越过第一个数据项有多远,或者称为序列,您需要去获得所需的内容。
The index used to access items just states how far past the first item in the collection, or sequence, you need to go to get what you want.
通常,这种解决方案只适用于 “最新数据”由相对离散的数据项构成的情况,而不适合用于整个数据集互相依赖的情况。
This solution is generally only relevant if "latest data" consists of relatively discrete items of data, not as much if the entire data set is interdependent.
GetItems执行了这个查询,每次调用GetItems只返回10条数据项。
SPList.GetItems takes the query and only returns 10 items each time GetItems is called.
GetItems执行了这个查询,每次调用GetItems只返回10条数据项。
SPList.GetItems takes the query and only returns 10 items each time GetItems is called.
应用推荐