Results 1 to 7 of 7
  1. #1
    Noek is offline Novice
    Windows XP Office 365
    Join Date
    Sep 2025
    Posts
    2

    Adding text field to form issue, control source not listed in property sheet


    I've created a form based on a table. Everything works fine. Now I am adding a text field to the table and form, I create a text field on the form but the selection for the control source in the property sheet isn't listed. If I just name the text box the name of the field on the table, I get an error. I am new to Access and I have searched everything and cannot find a fix. If I delete the whole form and start over, then I am sure it will work, I just can't seem to add it after its been created.

    Thanks in advance

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,421
    First, your form has to be based on a domain (query or table) or else you will not find any fields from the target table listed in the control source list. Second, I generally would not use a table for a form or report source, I'd use a query that only loads the records needed for that form, which is often not the whole table. So did you set the form recordsource first?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    jojowhite's Avatar
    jojowhite is offline Competent Performer
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    430
    you can add additional bound control to the form by going in Design View of your form.

    Click image for larger version. 

Name:	formD1.jpg 
Views:	27 
Size:	81.7 KB 
ID:	53301


    then on Ribbon->Add Existing Fields
    and Hold and Drag the Field you need inside your form.


    Click image for larger version. 

Name:	formD2.jpg 
Views:	27 
Size:	31.4 KB 
ID:	53302

  4. #4
    Noek is offline Novice
    Windows XP Office 365
    Join Date
    Sep 2025
    Posts
    2
    I created the table first, then I used the form wizard to create the form. Now I’m trying to add additonal fields to the table and then to the form as well.

    Should I create a query based off of the table instead?

  5. #5
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,421
    IMO a query is the better way to go, but not having done that probably isn't at play here. If you added a table field and based the form recordsource on that table, the field should be available in the field list for the added control (we're talking about a textbox, yes?). However, you may have to close and re-open that form first; can't recall. If you have done that and the field is not available, then I'm not sure what to say, except that if you want to copy and zip your db and upload it, we can take a look. See "how to attach files" at the top of the web page.

    Note - my comments about using a query are mostly related to when a table has, or may come to have, tens or hundreds of thousands of records (or less if there's many, many fields) because by basing a form on a table, you will load all of those records when the form opens, when you may only need a small number of records to be displayed. So, I typically based forms and reports on queries because it's easy to a) filter the records to what is needed at the time; b) select only the required fields for the form's purpose, and c) if a field is in the table but not in the query it's easier to add that field to a query because it will never cause relationship issues with other tables.
    Note 2 - I realize that one can filter a form, but I once asked a M$ engineer if all the records are loaded, then filtered, or filtered then loaded - and never got an answer. Either way, I suspect a query is faster as it Selects rather than filters.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  6. #6
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    I must admit that I just add the control and then select the source from the Data tab.
    As long as the field is in the source, be it a query or table, that should work.

    I always name my controls differently from the source txtFName, cboDateReceived, etc.

    With a 'picture worth a thousand words' saying, look here
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  7. #7
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,818
    Hi
    Can you upload a copy of the database?

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

Similar Threads

  1. Replies: 2
    Last Post: 03-09-2021, 05:52 PM
  2. Setting Control Source Property Issue
    By Sarah11 in forum Forms
    Replies: 2
    Last Post: 09-23-2017, 10:37 PM
  3. Report Layout Issue - Listed data??
    By jcjanssen in forum Reports
    Replies: 2
    Last Post: 04-21-2013, 02:50 AM
  4. Property Sheet issue desperate!!
    By pavarga in forum Reports
    Replies: 5
    Last Post: 07-23-2009, 08:18 PM
  5. Replies: 1
    Last Post: 03-02-2009, 10:12 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