Results 1 to 6 of 6
  1. #1
    FKennedy is offline Novice
    Windows 10 Access 2019
    Join Date
    Dec 2022
    Posts
    2

    Access Tables Queries and Forms


    Hi,
    HELP PLEASE! I'm amending an Access database, and i've deleted some fields from the Tables that we don't need anymore. Unfortunately i didn't realise that these fields were present in some queries and forms, and now when i try to open the corresponding queries and forms, this brings up an "Enter Parameter Value" error for the fields that i deleted. How do I sort this out? The database has a back and front end.
    Many thanks in advance

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    Revert to the backup you made before you started deleting things.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,158
    No quick and easy way without using a third party tool like V-Tools which has a deep search & replace function.

    The manual method is to edit the queries and simply remove the fields.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  4. #4
    FKennedy is offline Novice
    Windows 10 Access 2019
    Join Date
    Dec 2022
    Posts
    2
    How do i manually edit the queries. When i look in the queries, in the datasheet and SQL view the deleted items still appear, but in the design view they don't appear...

  5. #5
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,158
    They will have been replaced with something like

    Expr1: [YourDeletedFieldName]
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Go back to your backup as Bob suggested. Make a plan for what changes must be made and follow it. Your backup seems to be the only stable/consistent part of this project.
    Do some research to understand how forms and queries make use of table fields and values.
    Don't start by deleting fields in table(s) that you don't think are needed. And, always make sure you protect your frequent backups.
    Good luck.

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

Similar Threads

  1. Forms Based on tables or Queries
    By Tuckejam in forum Database Design
    Replies: 3
    Last Post: 11-06-2020, 11:49 AM
  2. Replies: 9
    Last Post: 07-19-2017, 11:01 AM
  3. Queries, tables, forms problem
    By urosm993 in forum Access
    Replies: 3
    Last Post: 11-20-2015, 06:23 PM
  4. Replies: 6
    Last Post: 10-16-2014, 12:55 PM
  5. From queries and tables to forms?
    By Fidycent in forum Forms
    Replies: 4
    Last Post: 12-16-2011, 01:54 PM

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