4

I've an access database. i want to create a column in my table in which fields can store array or collection of strings or numbers etc.. For example i created a table Cars : Model (String) , Colors_Available(array of strings). Is that possible in Microsoft Access ? please help .

2
  • 2
    This is not a good idea. Use separate tables before it turns around and bites. Such a set-up makes sensible data retrieval very difficult. Commented Aug 29, 2010 at 14:18
  • In A2007 and A2010, you have multi-value fields available, so you can do this. It's not recommended, but it is possible. Commented Aug 29, 2010 at 20:45

1 Answer 1

3

I don't think it is; the alternative is to store it as text separated by comma, and in your code, split it before you access it.

HTH.

Sign up to request clarification or add additional context in comments.

1 Comment

This is correct +1, a delimited string would be fine. Consider using a separate table. You can embed objects, but that would be overkill.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.