Results 1 to 10 of 10
  1. #1
    Zildjyn is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    5

    Imported data in table not shown in Forms

    I added about 150 new records to my table but the new records are not showing up in the form that is linked. Am I missing something?

    I have two tables:
    ShoppersTable and MoreInfo

    I have one form: Shoppers
    The new records were added to ShoppersTable

    The form is not showing the additional records.

    Thank you very much in advance for any help.

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Can you post your database here?

  3. #3
    Zildjyn is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    5

    Here is the database

    Thank you very much

  4. #4
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Your Shoppers Form is getting data based on this SQL which you can see if you:
    1. Open the Form in design mode,
    2. Open the Property Sheet and
    3. Look at the 'Record Source' property.

    Code:
     
    SELECT Shoppers.ID, Shoppers.First, Shoppers.Last, Shoppers.Email, Shoppers.Address1, Shoppers.Address2, Shoppers.City, Shoppers.State, 
    Shoppers.Zipcode, Shoppers.Phone, Shoppers.Fax, Shoppers.SSN, Shoppers.Gender, Shoppers.[Age Group], 
    Sheet1.Experience, Sheet1.[Shop Types], Sheet1.Years, Sheet1.[Call Time], Sheet1.[Metro Area], Shoppers.Distance, Sheet1.Glasses, Sheet1.Camera, 
    Sheet1.Clubs, Sheet1.HipHop, Sheet1.[Music Type], Sheet1.Type, Sheet1.Activities 
    FROM Sheet1 INNER JOIN Shoppers ON Sheet1.ID = Shoppers.ID;
    If you paste that SQL into a new Query in SQL View and run it - you will only get 68 rows of data.

    This is because the join in your query is saying 'only give me records in which the ID in both tables match'.

    Since the only common IDs in both tables are IDs 1 - 68 - that is all the query will return.

    And that is what your Form is displaying.

    What do you want your Form to display?

  5. #5
    Zildjyn is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    5
    I just want the form to update when new records are added to the tables. I usually add records to the form directly, but I just received a list of about 150 new shoppers and thought it would be easier to add them to the table. Wrong again.
    Can this be done?

  6. #6
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Typically - there is never a problem with a Form displaying any new data that comes in to a Table.

    But your Form is not based on one Table.

    It is based on the SQL that is in the Record Source property of your Form.
    And that SQL is limiting what the Form displays because of the Inner Join.

    Does ONE of your tables contain ALL the data that you need your Form to display?
    If there IS one Table that has ALL your data, then you can try making a copy of your current Form and then - in the copy - changing the Record Source property to that table - using the Drop Down arrow in the Record Source field of the Propery Sheet and selecting that Table.

    Then - whatever you put in that table will automatically show when you run the form.

    Let me know if this works!

  7. #7
    Zildjyn is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    5

    Merging Data

    Is there any way I could merge the two tables?

  8. #8
    Zildjyn is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    5

    error

    I merged the two tables into one but now how do I get my form to recognize the table again?

    I've attached the screenshot.

  9. #9
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    I don't know your data well enough so I can't advise on merging the data.

    I know that the two tables have very different fields so they don't automatically fit into the category of tables that I would say could be easily merged.

    If you could see a way to getting all the data into one Table, that would certainly make your task easier.

    I think what you should do is try and create a query that will return all the data that you want your Form to display.
    Is that a possibility for you?

  10. #10
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    How did you merge the two tables?
    What that message is saying is that the query behind your Form is no longer valid.
    Did you change the names or design of either or both of the Tables?

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

Similar Threads

  1. working with imported data
    By token_remedie in forum Queries
    Replies: 8
    Last Post: 09-21-2011, 05:52 PM
  2. Replies: 4
    Last Post: 01-04-2011, 06:30 PM
  3. updating an imported table
    By cmul in forum Access
    Replies: 3
    Last Post: 08-20-2010, 03:24 AM
  4. Linking Access Table with already imported External Data (Excel)
    By izzarshah in forum Import/Export Data
    Replies: 1
    Last Post: 07-29-2010, 09:40 AM
  5. Help with imported data
    By bubbasheeko in forum Queries
    Replies: 0
    Last Post: 01-12-2007, 07:12 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