Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Without having the dB to test, it is hard to know what to do next.



    Maybe write some UDFs to do the calculations???


    I've tried adding the calc to the query, but then can't edit the form
    Did you mean "....can't edit the record???"
    Adding a calculated column to a *shouldn't* make the query non-editable...

  2. #17
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by ssanfu View Post

    ...Adding a calculated column to a *shouldn't* make the query non-editable...
    And doesn't! The Calculated Field won't be editable, but no Field that is populated using a Calculation/Expression can be.

    Linq ;0)>

  3. #18
    bsc0617 is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2013
    Location
    Jacksonville, FL
    Posts
    13
    Yes, I mean that you cannot edit the record from the form or the query. FYI... None of my queries will allow me to change the data once I add a column with an expression. Why is that? Have I done something wrong or maybe have a setting somewhere that needs to be changed?

  4. #19
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Don't know without viewing the query and/or db for analysis. I've never had problem with simple calcs in queries.
    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. #20
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    All of my queries are editable, whether I have calculations or a UDF in them.

    Without having your dB to test, it is hard to say. Are you able to post the dB? (just a few records to test, munge any sensitive data)

  6. #21
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Your profile states that you're using Access 2007, is that correct? I ask because Allen Browne reports that Queries that have Fields that are Calcluated will be Read-Only, but only in Access 2010.

    Here's the definitive article on Read-Only Queries:

    Why is my query read-only?

    Linq ;0)>

  7. #22
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Access 2010 introduced a new field type - Calculated. This is a field in table that can have an expression. This field is by nature read only, just like a textbox with an expression. I will have to reverify tonight but any query including that field should still be editable, just not that field.
    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 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 04-29-2013, 12:11 PM
  2. Calculation Field in table vs Query calculation
    By Leonidsg in forum Database Design
    Replies: 18
    Last Post: 02-28-2013, 09:38 PM
  3. subform calculation.
    By chivo123 in forum Access
    Replies: 11
    Last Post: 01-30-2012, 11:32 AM
  4. Calculation in a group footer.
    By stupesek in forum Reports
    Replies: 11
    Last Post: 09-29-2010, 07:30 AM
  5. Subform vs main form calculation
    By fadone in forum Forms
    Replies: 17
    Last Post: 12-21-2005, 07:27 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