Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does'nt like - Not Like 1

Status
Not open for further replies.

ftook

Programmer
Dec 4, 2006
80
GB
I need to filter all Flint* type door styles but I can't seem to get the Not Like working as below :

If (Me.slw < 740 And Me![Door Style] not Like "Flint*") Or Me.slw > 900 Then

gives expected : expression

any ideas please ?
 
How are ya ftook . . .

. . . and this:
Code:
[blue]
If (Me.slw < 740 Or Me.slw > 900) And Not (Me![Door Style] Like "Flint*")  Then[/blue]

Calvin.gif
See Ya! . . . . . .
 
Needed to change slightly - but great thanks TheAceMan1 - great feedback.

If (Me.slw < 740 And Not (Me![Door Style] Like "Flint*")) Or Me.slw > 900 Then
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top