Query to produce boolean (1 Viewer)

PG2015

Registered User.
Local time
Today, 20:25
Joined
Feb 16, 2015
Messages
21
Can anyone help me with this?

Produce a query that returns a yes or no (Y or N) field if other text field contains particular text (with wildcard on either side).

Idea is to have a column for each preset word.

Hope that makes sense, Access newbie :banghead:
 

pr2-eugin

Super Moderator
Local time
Today, 20:25
Joined
Nov 30, 2011
Messages
8,494
Hello PG2015, please give some sample. The simplest would be.
Code:
NewColumn: IIF(InStr(theField, "theValue") <> 0, "YES", "NO")
 

PG2015

Registered User.
Local time
Today, 20:25
Joined
Feb 16, 2015
Messages
21
Brilliant, brilliant - thanks for your help! Works a treat.

Cheers
 

Users who are viewing this thread

Top Bottom