Results 1 to 3 of 3
  1. #1
    egorzik is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    3

    Calculated Fields Not Showing Up

    I have been having an on and off issue with calculated fields being just blank on the screen.

    I never had an issue with them in the past. DB was developed in 2003 and is currently accessed by 2003 and 2010 clients.

    To define a calculated field... what I really mean is a text box that has an expression in it:
    Textbox1.contolsource = dlookup("[SomeField]","tblSomthing","[ID] = " & [lngRecordID])

    Anyone know what could be causing this or get me started in the right direction???

    Thanks in advance!

  2. #2
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    Quote Originally Posted by egorzik View Post
    I have been having an on and off issue with calculated fields being just blank on the screen.

    I never had an issue with them in the past. DB was developed in 2003 and is currently accessed by 2003 and 2010 clients.

    To define a calculated field... what I really mean is a text box that has an expression in it:
    Textbox1.contolsource = dlookup("[SomeField]","tblSomthing","[ID] = " & [lngRecordID])

    Anyone know what could be causing this or get me started in the right direction???

    Thanks in advance!
    I have run into this issue multiple times too. It appears to be a bug in Access.

    Do the calculation in VBA and assign it to the value of the text box rather than making it the controlsource.

    Textbox1.Value = dlookup("[SomeField]","tblSomthing","[ID] = " & [lngRecordID])


  3. #3
    egorzik is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    3
    Thanks for the reply Xipooo. I'll give that a shot and let you know how it works. Hadn't thought about giving that a try...

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

Similar Threads

  1. Replies: 12
    Last Post: 10-01-2013, 12:59 PM
  2. Replies: 2
    Last Post: 10-24-2012, 02:53 PM
  3. Replies: 4
    Last Post: 05-14-2012, 06:10 PM
  4. Calculated Field not showing
    By imintrouble in forum Access
    Replies: 2
    Last Post: 02-09-2012, 03:14 PM
  5. Calculated Fields Help
    By Mossy in forum Queries
    Replies: 4
    Last Post: 10-10-2011, 01:13 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