Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


cannot join on Memo, error

cannot join on Memo, error

cannot join on Memo, error

Hi Everyone,

I have this query:

SELECT QPTActions.[Issue ID]
FROM QPTActions INNER JOIN AssigneeInfo ON QPTActions.[Assigned To]=AssigneeInfo.Assignee;

that should work but when I run it I get a 'Cannot join on MEMO, OLE or Hyperlink Object QPTActions.[Assigned To]=AssigneeInfo.Assignee'

The problem is I cannot modify the QPTActions table because it is a linked table. I tried making the AssignedInfo.Assignee field a memo but it still gives me the same error.

Is there any way I can get around this?

Thank you,

RE: cannot join on Memo, error

You're saying that the field [Assigned To] is a memo field in the actual database?  What's stored in that field?


Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual

Essential reading for anyone working with databases: The Fundamentals of Relational Database Design

RE: cannot join on Memo, error

Yes, [Assigned To] is a Memo field from a linked table. It stores 'LastName, FirstName'. This is coming from an external datasource, or else I would do the obvious of converting it to a text field, but I can't.

RE: cannot join on Memo, error

Memo, Object and Hyperlink fields are not stored "in" the tables. They are kept elsewhere and the table has only a pointer to them. SQL knows nothing about pointers so you can't attempt to link tables using those field types.

You can do this though


SELECT QPTActions.[Issue ID]

FROM QPTActions, AssigneeInfo

WHERE QPTActions.[Assigned To]=AssigneeInfo.Assignee
but note that only the first 255 characters will be compared.

No! No! You're not thinking ... you're only being logical.  
- Neils Bohr

RE: cannot join on Memo, error

And this ?
SELECT QPTActions.[Issue ID]
FROM QPTActions, AssigneeInfo
WHERE QPTActions.[Assigned To]=AssigneeInfo.Assignee;

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close