Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    steveo0707 is offline Novice
    Windows 11 Office 365
    Join Date
    Oct 2023
    Posts
    16

    Add Existing Fields

    Hello,



    When I try adding from the 'Add Existing Fields' section of my input form, I am getting these weird boxes. It's the only form in the database that this is happening on.

    Click image for larger version. 

Name:	Field Names.png 
Views:	33 
Size:	58.6 KB 
ID:	51606

  2. #2
    steveo0707 is offline Novice
    Windows 11 Office 365
    Join Date
    Oct 2023
    Posts
    16
    Hello,

    When I try adding from the 'Add Existing Fields' section of my input form, I am getting these weird boxes. It's the only form in the database that this is happening on.

    Click image for larger version. 

Name:	Field Names.png 
Views:	33 
Size:	58.6 KB 
ID:	51606

    It is just adding a text box, not the Field box and label.

  3. #3
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    I've never used that approach. Always have added a textbox from the toolbox then bound to the field I need, assuming it has to be bound. Either do it that way or you can manually add a label in the same manner, but then it won't be linked/associated with the control. To be more accurate, a textbox is a control, not a field, although when referred to that way by many, it is understood to be a bound control. At least that's how I view it.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Does this happen with every new form with any table?
    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.

  5. #5
    davegri's Avatar
    davegri is online now Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    It is just adding a text box, not the Field box and label.
    Notice that your click (or drag) is adding fields to the form's width of almost 16 inches.
    Try adding farther to the left, maybe 1 inch or so.

  6. #6
    steveo0707 is offline Novice
    Windows 11 Office 365
    Join Date
    Oct 2023
    Posts
    16
    Hello June7,

    No this only happening with one form in my current database, I'm not sure why it started doing that. I just tried adding a sample form and everything worked fine.

  7. #7
    steveo0707 is offline Novice
    Windows 11 Office 365
    Join Date
    Oct 2023
    Posts
    16
    Hello Micron,

    I am not purposely doing this. This is what I am getting when I try to 'Add Existing Fields'

  8. #8
    steveo0707 is offline Novice
    Windows 11 Office 365
    Join Date
    Oct 2023
    Posts
    16
    Hello,

    Here is the db.
    Attached Files Attached Files

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You did not post the db file, only the shortcut.

    Possibly this is corruption that cannot be explained nor fixed.

    Try building form again from scratch.
    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.

  10. #10
    steveo0707 is offline Novice
    Windows 11 Office 365
    Join Date
    Oct 2023
    Posts
    16
    Hello June7,

    Here is the db.
    Attached Files Attached Files

  11. #11
    davegri's Avatar
    davegri is online now Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    You may have posted the wrong DB. None of the forms display as your image shown in post #1 (and you didn't specify which form had the problem).
    Also, your tables are designed in a spreadsheet schema, making your existing forms too wide to view without scrolling across. Proper database design does not have repeating data values that display in your forms horizontally.

  12. #12
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Form NCMR Input Form exhibits this behavior.

    What I did: new form, copy all controls from old Input form, set RecordSource, add new fields from field list - they are correct size with labels.

    As I said, corruption.

    Strongly advise you remove all spaces and punctuation from naming convention.

    I agree, db is not normalized and may cause you big headaches down the road. Current schema may or may not be optimal for your needs. If you need to do a lot of statistical calcs, could be a nightmare. It is a balancing act between normalization and ease of data entry/output. "Normalize until it hurts, denormalize until works."
    Last edited by June7; 03-18-2024 at 06:54 PM.
    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.

  13. #13
    steveo0707 is offline Novice
    Windows 11 Office 365
    Join Date
    Oct 2023
    Posts
    16
    Hello,

    Thank you everyone for the help. I will create a new form. I created this form this way, because I could not figure out how to x-fer the data to a PDF, nor could I figure out to get the report to save and print current record only.

  14. #14
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Quote Originally Posted by steveo0707 View Post
    Hello,

    Thank you everyone for the help. I will create a new form. I created this form this way, because I could not figure out how to x-fer the data to a PDF, nor could I figure out to get the report to save and print current record only.
    Well if you Google a little, all that will become obvious.
    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

  15. #15
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Quote Originally Posted by steveo0707 View Post
    I created this form this way, because I could not figure out how to x-fer the data to a PDF, nor could I figure out to get the report to save and print current record only.
    That statement makes no sense. Exactly how would you use this form to print only current record?

    Reports are for printing. Build report and apply filter when opening.

    Printing has no bearing on our comments about normalization.
    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.

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Writing Formula in query on existing fields
    By Esmatullaharifi in forum Queries
    Replies: 1
    Last Post: 04-14-2015, 07:29 AM
  2. Replies: 4
    Last Post: 02-05-2014, 04:35 PM
  3. Import Existing Fields into form
    By data808 in forum Forms
    Replies: 1
    Last Post: 08-23-2012, 06:09 AM
  4. Replies: 0
    Last Post: 02-25-2011, 09:40 AM
  5. Importing existing Autonumber fields
    By prophecym in forum Import/Export Data
    Replies: 3
    Last Post: 02-05-2011, 09:59 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