//检索出所有的记录
long ll_row,ll_rowcount
This.Retrieve()
ll_row=This.GetRow()
ll_rowcount=This.RowCount()
//MessageBox(String(ll_row),String(ll_rowcount))
If ll_rowcount > 0 Then
//有记录则移到最后一页
This.ScrollToRow(ll_rowcount)
Else
//无记录
Parent.TriggerEvent("ue_add")
// is_pk_value=""
End If