memo field distinct rows

  • Thread starter Thread starter Jivko T
  • Start date Start date
J

Jivko T

hi group,

is there a way to obtain rows with distinct mem fields

the expression "select distinct my_memo_field from my_table"

raises error "the field is too small to accept the amount of data you
attempted to add ..."

the expression "select distinct my_date_field from my_table" works perfect!

any suggestions?

thaks!
 
Trick it. Try this:

SELECT DISTINCT Left([MyMemoField],2500) AS Expr1
FROM tblMyTable;

This will check the first 2500 characters. Actually the first 500 characters
is probably enough for most uses.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access Downloads
http://www.datastrat.com
http://www.mvps.org/access
 

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