Contains Any Numbers?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to write a query that will display certain codes if the field
contains any numbers (the field may be numeric, text or consist of a
combination of numbers and text). I would like to be able to report on how
many records 1 or more numeric characters, even though the field may also
contain text. Any help would be greatly appreciated. Thanks

Matthew Lockamy
 
Matt Lockamy said:
I'm trying to write a query that will display certain codes if the
field contains any numbers (the field may be numeric, text or consist
of a combination of numbers and text). I would like to be able to
report on how many records 1 or more numeric characters, even though
the field may also contain text. Any help would be greatly
appreciated. Thanks

The expression

Like '*[0-9]*'

should return True if the field contains any numeric digit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top