Results 1 to 6 of 6
  1. #1
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265

    Why am I still being prompted after I deleted the code?

    I tried to set a form Order By property = parents.parentID meaning parent Table, then parentID field. I have since deleted that code. But when I attempt to go back into form view I am prompted to enter parents.parentID.



    Note: Originally I should have typed tblParents instead of parents. Not sure if this has something to do with the problem.

    Anyway, I have deleted the code that I previously wrote, saved changes, and Access still thinks that this line of code is present when it is not. Any ideas what is going on?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    You deleted the code from where? From the form OrderBy property on the Properties Sheet? Or was this in VBA? I opened your db from other thread. Not getting the prompt.

    Actually only need ParentID in the OrderBy property. The tblParents qualifier is not needed because there is no other field in the RecordSource named ParentID.
    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
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265
    I deleted the code from the VB Editor.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    Did the form get saved with that criteria in the property? Look at the Property Sheet.

    Why am I not getting the prompt?
    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.

  5. #5
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265
    Quote Originally Posted by June7 View Post
    Did the form get saved with that criteria in the property? Look at the Property Sheet.

    Why am I not getting the prompt?
    It was the property sheet. The parents.parentID with [ ] was the value in the OrderBy property. Thank you.

  6. #6
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265
    How do I mark this as solved?

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

Similar Threads

  1. Replies: 1
    Last Post: 10-24-2013, 12:30 AM
  2. Replies: 0
    Last Post: 03-13-2013, 08:00 AM
  3. delete query produce #deleted in all deleted values
    By learning_graccess in forum Queries
    Replies: 2
    Last Post: 03-31-2012, 07:20 AM
  4. Replies: 7
    Last Post: 06-24-2011, 10:42 PM
  5. Entering more than one item when prompted?
    By 10 Gauge in forum Reports
    Replies: 10
    Last Post: 03-23-2011, 08:47 AM

Tags for this Thread

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