Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / February 2008

Tip: Looking for answers? Try searching our database.

Like clause used in query builder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fuzuy - 06 Feb 2008 21:41 GMT
Hi,

a combo box value is used to a pop-up new open Form. Where in that
form a list box row source used that combo box value in query builder
as a creteria using LIKE Clause and is not working, anyone can point
out what should be a correct way to do it?

LIKE "*###*" -->where ### is the combo box value of an existing open
Form

SELECT dshet_apr.Number, dshet_apr.Title_Description
FROM dshet_apr INNER JOIN datasheet_d ON dshet_apr.Number =
datasheet_d.Number
WHERE (((dshet_apr.Title_Description) Like "* [Forms]![frmm]![combo1]
*") AND ((datasheet_d.Dis)=[Forms]![frmm]![combo46]));

Thanks for help.
Douglas J. Steele - 06 Feb 2008 22:26 GMT
WHERE (((dshet_apr.Title_Description) Like "*" & [Forms]![frmm]![combo1] &
"*") AND ((datasheet_d.Dis)=[Forms]![frmm]![combo46]));

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)

> Hi,
>
[quoted text clipped - 13 lines]
>
> Thanks for help.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.