Question for ADO control(VB6)

本文內容已被 [ TellMe123 ] 在 2004-02-06 15:24:48 編輯過。如有問題,請報告版主或論壇管理刪除.

I have a ADO control on a form. It's connected to a Access table. Now ADO control's Recordsource, we can type a table name or a SQL statement. If I type a sql statement like

Select *from table where ID = myValue

But it doesn't work, I tried many different ways to put "my Value" or "& myvalue &", nothing worked. Can anyone help? myValue is dynamic and from input.

Thanks.



--文學城www.wenxuecity.com--

所有跟帖: 

Question for ADO control(VB6) -mma2001- 給 mma2001 發送悄悄話 (312 bytes) () 01/15/2004 postreply 23:56:00

請您先登陸,再發跟帖!