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

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”