MS Access question

来源: kf_ying 2003-11-02 15:41:00 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (655 bytes)
本文内容已被 [ kf_ying ] 在 2004-02-06 15:24:48 编辑过。如有问题,请报告版主或论坛管理删除.
Lets say I have a field called FullName. In the design view of a query, if I add [Input here:] as the Criteria of the field FullName, then when the query is executed, a window pops up saying [Input here:]. It works OK if the sql query is
…………………..
WHERE FullName = [Input here:];

However what I want is
………………………
WHERE FullName LIKE ‘*[Input here:]*’;
It does not work. Can someone tell me how to make this work using the small popup window? I don’t want the user to handle any SQL, they should just type a name, for example, John, in the popup window and the query pulls out all names containing John.

Thanks so much!




--文学城www.wenxuecity.com--

所有跟帖: 

回复:MS Access question -f64- 给 f64 发送悄悄话 (447 bytes) () 11/02/2003 postreply 19:48:00

thanks, but it doesn't work -kf_ying- 给 kf_ying 发送悄悄话 (345 bytes) () 11/02/2003 postreply 20:50:00

here is the solution -what5263- 给 what5263 发送悄悄话 (188 bytes) () 11/02/2003 postreply 22:22:00

it works!!! thank you so much! -kf_ying- 给 kf_ying 发送悄悄话 (0 bytes) () 11/03/2003 postreply 09:27:00

no problem -what5263- 给 what5263 发送悄悄话 (177 bytes) () 11/03/2003 postreply 11:23:00

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”