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

    Getting the QL code when I click on a query name in nav window to get design view.

    When I click on a query name in the navigation windows to get the design view, I get the SQL code instead.

    That could not be right, the SQL code is clearly not the design view that I am seeking. What is going

    on here? What am I doing wrong?

    I have many queries in navigation view that when I click to get the navigation view, that is clearly

    what I get with this exception mentioned above.

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed.

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    (a) it is a pass-thru query
    (b) it is a Union query
    (c) the tables are missing

  3. #3
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    I am not sure and I would have to check. I will get back to you.

    Respectfully,

    Lou Reed

  4. #4
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    Okay, here is the SQL that this maneuver keeps on giving me. I would rather have the query's design view.

    Code:
    SELECT tblTelework.TeleworkID AS ContractID, tblTelework.PersonnelID, tblTelework.Expiration, tblTelework.isActive, "Telework" AS Version
    FROM tblTelework
    WHERE (((tblTelework.isActive)=True))
    UNION SELECT tblPropertyPass.PropPassID AS ContractID, tblPropertyPass.PersonnelID, tblPropertyPass.Expiration, tblPropertyPass.isActive, "Property" AS Version
    FROM tblPropertyPass
    WHERE (((tblPropertyPass.isActive)=True));
    Maybe, this SQL code can answer your question.

    Respectfully,


    Lou Reed

  5. #5
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    I do not have a question - you do!

  6. #6
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    That is very true. Sorry about my presumption. However, since I am unsure as to what the following are:

    (a) it is a pass-thru query
    (b) it is a Union query
    (c) the tables are missing

    I thought that some help could be obtained by including the only
    thing that could possibly matter and that is the SQL code.

    I always thought it was quite easy going from query design view
    to SQL code and back. It was until I ran up against this issue.

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed

  7. #7
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    I was attempting to get you to think for yourself and learn about queries. Under "Design" there are different query types, is any one selected? Are there any clues inside the SQL itself that you can read and will point you to the answer?

  8. #8
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    perhaps this is a clue?

    ...
    WHERE (((tblTelework.isActive)=True))
    UNION SELECT tblPropertyPass...

  9. #9
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    It seems like it. I am trying to figure out the Access db program. I did not create it, I only got the db a few days ago from another analyst.
    It seems that would be significant clue so let me work on it awhile and I will get back to you.

    Thanks for your help.

    Respectfully,

    Lou Reed

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

Similar Threads

  1. Replies: 5
    Last Post: 10-29-2017, 06:46 AM
  2. remove design view and layout view on right click
    By sdel_nevo in forum Programming
    Replies: 2
    Last Post: 07-11-2013, 01:00 AM
  3. Replies: 1
    Last Post: 07-13-2012, 08:50 AM
  4. How to access design view and VBA code
    By abrogard in forum Access
    Replies: 8
    Last Post: 03-22-2012, 05:47 PM
  5. Unable to view query in design view
    By vemi007 in forum Queries
    Replies: 7
    Last Post: 01-19-2012, 11:36 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