Functions.FieldGetArea 方法 |
命名空间: XSharp.RT
FUNCTION FieldGetArea( dwWorkArea AS DWORD, symFieldName AS SYMBOL ) AS USUAL
public static __Usual FieldGetArea( uint dwWorkArea, __Symbol symFieldName )
1USE region1 NEW 2nSelect1 := VODBGetSelect() 3USE region2 NEW 4nSelect2 := VODBGetSelect() 5VODBSetSelect(nSelect1) 6_FIELD->FName := "Kate" 7VODBSetSelect(nSelect2) 8_FIELD->FName := "Cindy" 9// 下面这行打印 Kate 10? FieldGetArea(nSelect1, #FNAME) 11// 下面这行打印 Cindy 12? FieldGetArea(nSelect2, #FNAME)