Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Posts
    3

    Update Query from Form

    Hi

    Please find attached the db for help understanding the problem

    I have a box in the form frm_Sound which is "Overall_Change". This will always be a number either positive, zero or negative. What I require is for that number to be added to a new table "Value" in the field "Number"



    So, Once a submit button is clicked for example, that number will be added as a new record to the table "Value" in the "Number" field and in the "Type" field, it will say whether it is positive, negative or zero.

    So, what I require is some code that takes the number, recognises that it is either positive, negative or zero and updates it into a table. I think I need some sort of update query, right?

    Can anyone help with this please? I just can't seem to work out the way to do this.

    Thanks

  2. #2
    Join Date
    Mar 2009
    Posts
    3
    Can anyone help with this please, i'm really struggling.

  3. #3
    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,922
    How about starting by not using any reserved words as names for objects? It does not look like you have event started on a Submit Button. You need to base your form on a query with calculations in it and not a table directly.

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

Similar Threads

  1. Update Query
    By Najeeb in forum Queries
    Replies: 1
    Last Post: 11-19-2015, 04:02 AM
  2. Update Query
    By GrnISSO in forum Queries
    Replies: 0
    Last Post: 06-15-2007, 05:41 PM
  3. Need help with an Update query ...
    By valkyry in forum Queries
    Replies: 0
    Last Post: 04-23-2007, 08:45 PM
  4. Need help with Update Query
    By starswinger007 in forum Queries
    Replies: 1
    Last Post: 02-22-2006, 08:44 PM
  5. Update Query
    By canadian1121 in forum Queries
    Replies: 1
    Last Post: 11-15-2005, 04:04 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