DatabaseTash
Registered User.
- Local time
- Today, 11:29
- Joined
- Jul 23, 2018
- Messages
- 149
Hi all!
I have the following code which is working on a multisearch form. I would like to make the Streets_Included a partial match rather than an exact match. I have tried including wild cards, but am obviously doing it wrong as I can't get it to work.

I have the following code which is working on a multisearch form. I would like to make the Streets_Included a partial match rather than an exact match. I have tried including wild cards, but am obviously doing it wrong as I can't get it to work.

Code:
SELECT tblCadastralPlansRegister.*
FROM tblCadastralPlansRegister
WHERE (((tblCadastralPlansRegister.Parish)=Forms!frmMultiSearchTool!Parish) And ((tblCadastralPlansRegister.Portion)=Forms!frmMultiSearchTool!Portion))
Or (((tblCadastralPlansRegister.Parish)=Forms!frmMultiSearchTool!Parish) And ((tblCadastralPlansRegister.Section)=Forms!frmMultiSearchTool!Section))
Or (((tblCadastralPlansRegister.Parish)=Forms!frmMultiSearchTool!Parish) And ((tblCadastralPlansRegister.Suburban_Section)=Forms!frmMultiSearchTool!Suburban_Section))
Or (((tblCadastralPlansRegister.Parish)=Forms!frmMultiSearchTool!Parish) And ((tblCadastralPlansRegister.Streets_Included)=Forms!frmMultiSearchTool!Streets_Included))
ORDER BY tblCadastralPlansRegister.Parish, tblCadastralPlansRegister.Portion, tblCadastralPlansRegister.Section, tblCadastralPlansRegister.Suburban_Section, tblCadastralPlansRegister.Streets_Included;