Results 1 to 4 of 4
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Modify the query diagram and modify the SQL code automatically, but the reverse?

    I can create a query with tables and entries and then put in criteria. When the query is correct, I can look and see the SQL source.



    However, is this reversible? By that I mean by changing the SQL code the table relationships and criteria also change?

    Thanks in advance. Any help appreciated.

    Respectfully,


    Lou Reed

  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,919
    Usually edits in SQLView will be reflected in DesignView, assuming the edits are valid syntax. However, some queries cannot be displayed in DesignView at all, ever. A UNION query is one such and can only be created and viewed in SQLView.
    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
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    Well, I already tried it. I replaced the MeetingID line back into the SQL code for Query2 on my db. I have a Query3 that is dependent on Query2. It just would not work. I recreated Query3 and it works now.

    Respectfully,

    Lou Reed

  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,919
    An edit in one query will not always pass through to a dependent query. I did not realize that was the actual nature of your question.
    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. Help to Modify this vba code.
    By Esmatullaharifi in forum Programming
    Replies: 2
    Last Post: 04-21-2015, 10:41 PM
  2. Replies: 2
    Last Post: 04-14-2015, 07:21 AM
  3. Replies: 6
    Last Post: 09-10-2014, 01:15 PM
  4. SQL*Plus code in MsAccess, how to modify?
    By suverman in forum Queries
    Replies: 1
    Last Post: 05-20-2011, 07:01 AM
  5. Word code in Access - How to modify my current code
    By Alexandre Cote in forum Programming
    Replies: 0
    Last Post: 11-15-2010, 08:26 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