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

请您先登陆,再发跟帖!