Functions.DbRSelect 方法 |
命名空间: XSharp.RT
FUNCTION DbRSelect( nRelation ) AS DWORD CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })] public static uint DbRSelect( __Usual nRelation = default )
1USE invoices INDEX invoices NEW 2USE backorder INDEX backorder NEW 3USE customer INDEX customer NEW 4SET RELATION TO custnum INTO customer, ; 5 Ordernum INTO Backorder 6QOut(DBRelation(2), DBRSelect(2)) 7// 结果:Ordernum 3 8QOut(Alias(DBRSelect(2)) 9// 结果:BackOrder
1USE archive NEW 2QOut(Customer->DBRelation(2)) 3// 结果:Ordernum 4QOut(Customer->DBRSelect(2)) 5// 结果:3