Results 1 to 8 of 8
  1. #1
    Huddle is offline Competent Performer
    Windows XP Access 2010 64bit
    Join Date
    Jun 2010
    Posts
    318

    Field is auto populating with next available data when it should be blank


    I am using this formula in a field. =[DO_First].[column](2) & " x" & [DO_First].[column](3) When the data in the table is blank it is populating with the next available data. I don't want this I want it to stay blank. I think there is something in the properties that needs to be switched but I don't know what. Can you help?

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    sounds like DO_First is a combo or list box. Form your field to be blank, you must have not selected anything in DO_First

  3. #3
    Huddle is offline Competent Performer
    Windows XP Access 2010 64bit
    Join Date
    Jun 2010
    Posts
    318
    But in the table column 2 associated with DO_First is blank. Why would it not fill in the field as blank?

  4. #4
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    just to check - column numbers start from 0 - so column(2) is actually the third column

  5. #5
    Huddle is offline Competent Performer
    Windows XP Access 2010 64bit
    Join Date
    Jun 2010
    Posts
    318
    That is correct

  6. #6
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    I think I have just twigged - is this a calculated field in a table, or a control on a form?

  7. #7
    Huddle is offline Competent Performer
    Windows XP Access 2010 64bit
    Join Date
    Jun 2010
    Posts
    318
    Control on a form. I changed the controlling field and I think I have it working right now. Thanks for your help.

  8. #8
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Also, what is "blank"? Assigning Null to a variable can give undesirable results. It seems you are using the control and its properties to manage this. I would recommend using VBA. Another approach may be to filter your recordset to not display Null values.

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

Similar Threads

  1. Replies: 1
    Last Post: 08-10-2014, 04:06 PM
  2. Replies: 3
    Last Post: 07-30-2013, 12:11 PM
  3. Auto-populating table field
    By nomad in forum Access
    Replies: 6
    Last Post: 07-16-2012, 09:52 AM
  4. Auto Populating Field in Subform
    By sparlaman in forum Forms
    Replies: 21
    Last Post: 03-28-2011, 12:58 PM
  5. Auto Populating a field in a table
    By softspoken in forum Access
    Replies: 11
    Last Post: 04-05-2010, 02:52 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