Results 1 to 2 of 2
  1. #1
    avarusbrightfyre is offline Advanced Beginner
    Windows Vista Access 2003
    Join Date
    Sep 2009
    Posts
    60

    Changing Field Values with Command Button

    I am using Access 2007 to create an inventory of serialized items. I have a main "Items" table that stores all of the information on the gear. The relevant fields for this question are the "Serial#" and "Location" fields. Each item has a unique serial number stored in the "Serial#" field, and it's current location is stored in the "Location" field. The "Location" field will also be used to show whether an item has been issued to someone, and will store the name of that person in the field instead of an actual location.



    The problem with this is that I want to make a very simple way of changing this information for the end user. I have a tabular form that displays every item that is assigned to a specific person, and I have an "Add" button which brings up a form that will allow the user to type in a serial number in a text box.

    So my question is: How do I change the "Location" field of a specific serialized item?

  2. #2
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682
    My guess (without fully understanding your question or setup), is that you could design an update type of query to update the "Location" field using criteria to match the serialized item selected on the form (ie. criteria such as = Forms!MyFormName!SerialNumber for the serial #). But I really don't understand your question or what exactly you're trying to do. I'm 'guessing' this is what you're trying to do.

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

Similar Threads

  1. Replies: 1
    Last Post: 07-27-2010, 02:27 PM
  2. Command Button
    By nashr1928 in forum Forms
    Replies: 2
    Last Post: 07-05-2010, 08:02 PM
  3. Command Button
    By lannoe in forum Forms
    Replies: 1
    Last Post: 07-01-2010, 01:48 PM
  4. Master list table with changing values.
    By evander in forum Database Design
    Replies: 11
    Last Post: 06-24-2010, 07:40 AM
  5. Replies: 3
    Last Post: 08-11-2009, 10:40 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