Results 1 to 3 of 3
  1. #1
    Delta729 is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Nov 2010
    Location
    Los Angeles
    Posts
    95

    Form record source query where I need to show 2nd column

    I have a simple form made from the following record source with the following sql statement. My form is showing only the RegionID. What do I need to change that.




    Code:
    SELECT tblRegion.RegionID, tblRegion.Region, tblRegion.Vendor
    FROM tblRegion;
    I tried
    Code:
    [Region].[Column](2)
    in the form field control source, which appear correct from what I'm finding online however it tell me that I have an invalid control source. Can anyone out there tell me I have wrong?

  2. #2
    Delta729 is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Nov 2010
    Location
    Los Angeles
    Posts
    95
    I added this so I could pull in the 3rd column without seeing the vendors primary key. So that portion works for the 3rd column without having to do anything special with coding.

    Code:
    SELECT tblRegion.RegionID, tblRegion.Region, tblVendor.VendorFROM tblVendor INNER JOIN tblRegion ON tblVendor.VendorID = tblRegion.Vendor;

  3. #3
    Delta729 is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Nov 2010
    Location
    Los Angeles
    Posts
    95
    I have no idea what happened, but I took a little break and now it works.

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

Similar Threads

  1. Updatable query as form's record source
    By ArviLaanemets in forum Queries
    Replies: 8
    Last Post: 03-02-2021, 06:28 PM
  2. Replies: 14
    Last Post: 12-29-2016, 12:34 AM
  3. Replies: 5
    Last Post: 09-19-2016, 02:28 PM
  4. Replies: 2
    Last Post: 11-12-2014, 02:19 PM
  5. List in Report Won't Show a Column in the Source Table
    By italianfinancier in forum Access
    Replies: 1
    Last Post: 05-28-2011, 02:23 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