Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
你这个用表达式简单一点
表达式复杂表结构,不起作用。我想要:1流水表的详细内容,2库存表与流水表关联。
For Each dr As DataRow In DataTables("库存表").DataRows
Dim val As Decimal = dt.Compute("Max(_SortKey)","产品 = '" & dr("产品") & "'")
Dim dr1 As DataRow = dt.Find("产品 = '" & dr("产品
") & "' And _SortKey = " & val,"日期 Desc")
If dr1 IsNot Nothing Then
dr("库存") = dr1("库存")
End If
Next
1、上面的产品 dr("产品 ") 不要流空格
2、
谢谢