Seamus2626
asked on
Access Mid query
Hi,
Does anyone have the code to specify the return of values that are "D" or "P" in the third character of a sequence
So, for example
J3PI009C - Return
K4SI008T - Dont return
KKDI007X - Return
I am using the design view.
Thanks
Seamus
Does anyone have the code to specify the return of values that are "D" or "P" in the third character of a sequence
So, for example
J3PI009C - Return
K4SI008T - Dont return
KKDI007X - Return
I am using the design view.
Thanks
Seamus
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Ed,
Thanks for that.
However, this is not working either. I may be doing something wrong here but i cant see it.
I attached a ss of my query
Thanks
Seamus
ss.doc
Thanks for that.
However, this is not working either. I may be doing something wrong here but i cant see it.
I attached a ss of my query
Thanks
Seamus
ss.doc
Seamus,
You need to put it in a new column field not in a criteria.
When properly placed, it will add a column field Sample when you run the query.
Ed
You need to put it in a new column field not in a criteria.
When properly placed, it will add a column field Sample when you run the query.
Ed
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this for table a with a field adesc
SELECT a.adesc
FROM a
WHERE Eval(adesc Like "??D*" Or adesc like "??P*") <>False
SELECT a.adesc
FROM a
WHERE Eval(adesc Like "??D*" Or adesc like "??P*") <>False
ASKER
Thanks for the help guys, worked out fine.
Sorry for the late response.
Cheers,
Seamus
Sorry for the late response.
Cheers,
Seamus
ASKER
I uploaded a screen shot of how i interpreted your code
Thanks
Seamus
ss.doc