Results 1 to 4 of 4
  1. #1
    andrewchap is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2019
    Posts
    2

    Issue with Query data

    So I am creating a movie database for my movies. I have field that has the names of the lead cast (3 most popular). These names are in the same field box. When I run a query to search for all the movies a particular actor is in, I come up empty.

    How can I fix this?

    Thanks in advance.



    P.S. I tried to add pictures but it wont let me.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    Is the field a multi-value type? Are you using a multi-select combobox to enter values? Advise not to use multi-value fields.

    Fix it by normalizing data structure. Have a related table that has a record for each person.

    There are numerous threads dealing with movie database.
    Last edited by June7; 06-21-2019 at 12:17 AM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    andrewchap is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2019
    Posts
    2
    I tried multi-value and combobox but with no luck. I'm pretty new to access so it could be operator error.

    Click image for larger version. 

Name:	image4.jpeg 
Views:	7 
Size:	107.6 KB 
ID:	38841
    I just want to be able to put the actors in the same field box as shown below and then run a query to search what movies are associated with a particular actor.
    Click image for larger version. 

Name:	image1.jpeg 
Views:	7 
Size:	83.5 KB 
ID:	38842
    I've ran the query using only one name in each field box successfully so I'm assuming the query isn't completing correctly because there is more than one name.
    Click image for larger version. 

Name:	image2.jpeg 
Views:	7 
Size:	80.0 KB 
ID:	38843
    Click image for larger version. 

Name:	image3.jpeg 
Views:	7 
Size:	85.7 KB 
ID:	38844
    Is there a way to correct this?

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    I already advised correction in previous post.

    Or learn what a multi-value field is and how to use. https://support.office.com/en-us/art...#bkmk_criteria
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 01-02-2018, 06:06 AM
  2. Replies: 5
    Last Post: 01-08-2015, 02:08 PM
  3. Issue summing query fields when no data exists
    By accessmatt in forum Queries
    Replies: 4
    Last Post: 10-01-2014, 11:18 AM
  4. Issue getting data organized
    By laughingman1906 in forum Import/Export Data
    Replies: 1
    Last Post: 11-18-2012, 04:45 PM
  5. Replies: 2
    Last Post: 05-17-2012, 11:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums