Dim Page As WinForm.TopicPage
Page = Forms("主窗口").Controls("TopicBar1").Pages("询价管理")
Dim lnk As WinForm.TopicLink = Page.Links.add("未完成询价","未完成询价")
Dim cnt As Integer = DataTables("询价表").Compute("count([_identify])", "传递报价=false" )
lnk.Text = lnk.Text & "(" & cnt & ")"
lnk = Page.Links.add("已完成询价","已完成询价")
Dim cnt As Integer = DataTables("询价表").Compute("count([_identify])", "传递报价=true" )
lnk.Text = lnk.Text & "(" & cnt & ")"