Results 1 to 10 of 10
  1. #1
    AlexBen is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2021
    Posts
    10

    Post =[FieldA].[COLUMN](3) does not show

    Good day! I have 5 text boxes in the form. The [FieldA] has a row source:
    SELECT TAGpg.[SownID], sowTAGpg.FDate, sowTAGpg.LiveB, sowTAGpg.Stillb, sowTAGpg.Mumes FROM sowTAGpg ORDER BY sowTAGpg.[SownID]

    the succeeding text boxes has =([SownID].[COLUMN](1)) to COLUMN(4)
    only COLUMN (1) and COLUMN(2) is showing the value. COLUMN (3) and COLUMN(4) are blank although they have data on it.



    how can I make it show that? Thanks in advance!

  2. #2
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Check the number of columns property of the combo box.
    Just adding the fields to the combo's query doesn't make them available if there aren't enough columns in the combo.
    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 ↓↓

  3. #3
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    I'm thinking there is no query or textbox involved. The row source for the main tb is a sql statement but can you even use a sql statement for a textbox, especially one that returns several fields? Maybe yes if it's a multi value field (which is something I don't use). Also, don't overlook the fact that columns are usually zero based, so 1,2,3,4 is probably wrong in the first place.
    Last edited by Micron; 01-23-2024 at 12:45 PM. Reason: clarification
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    I agree with Minty the Column Count of the Combobox should be 5
    Check the properties of the Combobox
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  5. #5
    AlexBen is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2021
    Posts
    10
    Hi Micron! Sorry, i used a combo box for FieldA

  6. #6
    AlexBen is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2021
    Posts
    10
    Hi Minty! I don't do ACCESS much so some terms I don't know... where can i check the column property of the combo box? should it be in the table or form? i did change the BOUND COLUMN but it did something else (did not show my list). Thanks in advance!

  7. #7
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Hi Alex

    It is in the design View of the Form
    Click on the Combo Box and then Right click and select Properties

    Then check the Column properties as shown
    Attached Thumbnails Attached Thumbnails Combo.png  
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  8. #8
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    You might want to bookmark the root of this site
    https://learn.microsoft.com/en-us/of...ombobox.column

    Properties of objects are listed on tabs of the property sheet when the object is in design view.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  9. #9
    AlexBen is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2021
    Posts
    10
    Thank you! I was looking for it at the DATA folder of the Property Sheet.

  10. #10
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Those "folders" are known as tabs.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 1
    Last Post: 05-16-2017, 04:55 PM
  2. Show multiple column's date in one column.
    By Littlewood in forum Access
    Replies: 2
    Last Post: 10-26-2015, 09:53 AM
  3. Replies: 12
    Last Post: 09-13-2015, 10:59 AM
  4. Replies: 1
    Last Post: 05-26-2014, 03:02 AM
  5. Show only rows where fielda < fieldb
    By Schon731 in forum Queries
    Replies: 6
    Last Post: 12-02-2010, 06:26 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