求助:对象DataGrid控件不支持该属性或方法
1个回答
展开全部
set Me.DataGrid8.DataSource = Rst
or
Me.DataGrid8.DataSource=
"SELECT A.Fnumber, " & _
"A.IDNo, " & _
"B.FCname, " & _
"B.Fdrawing, " & _
"B.Fsizespec, " & _
"B.Funit, " & _
"A.FmaPrice, " & _
"A.FoutoQuty, " & _
"A.FintoQuty, " & _
"A.FSum, " & _
"A.Fremark " & _
"FROM tabAccountlistB A " & _
"LEFT JOIN tabT_item B ON A.Fnumber = B.Fitemid " & _
"Where A.FfatherOddnumber='" & AA & "'"
or
Me.DataGrid8.DataSource=
"SELECT A.Fnumber, " & _
"A.IDNo, " & _
"B.FCname, " & _
"B.Fdrawing, " & _
"B.Fsizespec, " & _
"B.Funit, " & _
"A.FmaPrice, " & _
"A.FoutoQuty, " & _
"A.FintoQuty, " & _
"A.FSum, " & _
"A.Fremark " & _
"FROM tabAccountlistB A " & _
"LEFT JOIN tabT_item B ON A.Fnumber = B.Fitemid " & _
"Where A.FfatherOddnumber='" & AA & "'"
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询