[VBA]关于创建记录集
<P> jinming为变量,如何用到查询语句中,请指教!</P><P> jinming = ComboBox2.Text</P>
<P> cmd.CommandText = "select*from <FONT color=#f70909>jinming</FONT>" '创建相应记录集<BR> Set cj = New ADODB.Recordset<BR> cj.CursorLocation = adUseClient<BR> cj.Open cmd, , adOpenStatic, adLockBatchOptimistic<BR></P>
页:
[1]