Results 1 to 4 of 4
  1. #1
    angie is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Dec 2013
    Posts
    232

    updating using a query

    I have a table name “proposals”
    I have a query name “proposals query”


    I have a form name “proposal”
    In the query I have a field “Financed Price: Round([price]+[addons],0)” because I needed it to calculate.
    The field “financed price” in the table is not update withthe information added to the field in the form which is created using thequery. The form and query works greatand calculates correctly but how do I get the field “financed price” in thetable to update .
    Thank You
    Angie

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Here's a link that should help explain what you see: http://allenbrowne.com/casu-14.html

  3. #3
    angie is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Dec 2013
    Posts
    232
    thank you for the information, I tried the following
    I am using the following that you sugested
    You want to store a calculated result anyway?
    My field name is “ equipt cost”
    It gets it data from a combo box selection
    I entered the following on the change event but can not get itto work


    Private SubEquipt_Cost_AfterUpdate()
    Me.Financed_Price= Round(([Price] + ([Price] * 0.075 + 840)) / 0.47 / 0.88 + 750, 0)

    End Sub

    And thefollowing to the finance cost text box
    Private SubFinanced_Price_Change()
    Callprice_afterupdate
    End Sub

    Not surewhat I am doing wrong

  4. #4
    angie is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Dec 2013
    Posts
    232
    I changed what I was needing so I am going to mark this solved because I am needing help with afterupdate event in a form to make it work so I reposted thank you
    not sure if this is the right way to move something or change what I need it to do.
    sorry if its not the right way

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

Similar Threads

  1. Replies: 3
    Last Post: 05-13-2016, 01:15 AM
  2. Updating form after updating and closing a popup window
    By Historypaul in forum Programming
    Replies: 2
    Last Post: 04-21-2014, 02:13 AM
  3. Need help with auto-updating - SQL Query
    By supr4 in forum Access
    Replies: 1
    Last Post: 02-19-2012, 12:59 PM
  4. Updating a query
    By bailey537 in forum Programming
    Replies: 1
    Last Post: 07-16-2009, 10:30 AM
  5. Query not updating
    By timbim in forum Queries
    Replies: 0
    Last Post: 11-16-2008, 09:46 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