Wildcard in Query

Superock

Registered User.
Local time
Today, 12:57
Joined
Nov 3, 2004
Messages
40
I have created an update query, there is a "Floor" field that in the original table lists the building and the floor as a single value (SCC 1st Floor). I can easily remove the building code with a left function, the problem I have though is that the spaces between the building code and the floor is never the same.

Is there a way to us wild cards in a expression like the one I have below?

Floor: IIf (TempTable![Delivery Address] = "*1*", 1st Floor, Other)
 
Floor: IIf(InStr(TempTable![Delivery Address], "1"), "1st Floor", "Others")
.
 

Users who are viewing this thread

Back
Top Bottom