Functions.DbSetDescend 方法 | |
Reverses the navigational order of a work area.
命名空间:
XSharp.XPP
程序集:
XSharp.XPP (在 XSharp.XPP.dll 中) 版本:2.22 GA
语法 FUNCTION DbSetDescend(
lNewDescend AS LOGIC
) AS LOGIC
public static bool DbSetDescend(
bool lNewDescend
)
查看代码参数
- lNewDescend
- 类型:Boolean
A logical value. When TRUE the navigational order in the current work area is set to descending, FALSE sets the order to ascending.
返回值
类型:
BooleanThe return value of DbSetDescend() is the previous setting for DbSetDescend().
备注 The function DbSetDescend() is used to quickly change the order in a work area from ascending to descending and vice versa
without the need to create a corresponding index. When TRUE is passed to the function, the order is reversed, i.e. all functions and
commands that move the record pointer are inverted. DbGoTop() becomes DbGoBottom(), DbSkip(1) becomes DbSkip(-1), EOF becomes BOF() etc.
提示: |
---|
Not all RDDs support switching the order at runtime |
参见