|
<>DCount(expr, domain, [criteria])</P>
<>我想定义一个domain</P>
<><BR>dim dbsource as string<BR>dbsource="SELECT a.po_num, c.name, b.item, d.description, b.po_line, " & _<BR> "b.u_m, b.qty_ordered,b.item_cost)AS totalcost, " & _ <BR> " b.due_date_day, ISNULL(f.brk_cost_conv##1, 0) AS price " & _ <BR> "FROM a,b ,c,d" <BR></P>
<P>docount("price","dbsource","pirce=0 and po_num= '" & Me.frm_po!po_num & "'")</P>
<P>运行提示invalid object name 'dbsouce'</P>
<P>帮我看看,我在那里写错了, 谢谢!!!!!!</P> |
|