Results 1 to 5 of 5
  1. #1
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130

    Question Tweaking my database


    I have rebuilt my database from the ground up after learning new techniques to store data and whatnot. I have attached my database so that you can review it in order to understand what is going on and what I would like to happen, if possible. Just a little fyi about this situation is that it is a multiple part question, So here goes:

    I want my "Main Menu" form to be displayed at all times. I have it set up to where the user can select an employee in a dropdown menu and it autopopulates the form with that employee's information and assigned assets so on and so forth. I have it set to where nothing can be changed on the main form as far as data (to prevent accidental changes). I have set up a form to add an employee and will set up one to add a device and so on. These new forms are set to popup mode.

    What I would like to find out is how to make a form for each of the following:

    - Editing an employee (having it auto show the employee that was selected on the Main Menu)
    - Assigning a device to an employee (the table that this is in only shows numbers, but want the user to see the actual employee name and device information)
    - Changing device name
    - Change employee's wallport

    Any help on these ideas would be greatly appreciated. And also, for the record, I have very minimal knowledge on VBA. I am more familiar with macros but am trying to now learn VBA.
    Attached Files Attached Files

  2. #2
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    UPDATE:

    I have figured out the Editing an Employee form and have it working. But I would like it to only save the changes if the save button is clicked. IF the cancel button is clicked it will not saving any changes and close the window.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    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.

  4. #4
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    7 tables with a PK field "ID"??? Can get confusing.

    Form name "qryEmpDevices subform"? Why do forms have a name prefix "qry"?? Better name would be "sfrmEmpDevices". And no spaces in name!
    Still looking at the structure.......

  5. #5
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    ssanfu,

    The reason why those forms had that prefix was because i dragged them on to a form. I have renamed them as you suggested for when i getting better into the actual coding part.

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

Similar Threads

  1. Replies: 43
    Last Post: 03-27-2014, 01:51 AM
  2. Replies: 4
    Last Post: 11-27-2013, 09:51 AM
  3. Replies: 4
    Last Post: 08-21-2013, 07:08 AM
  4. Replies: 2
    Last Post: 01-28-2013, 04:42 PM
  5. Replies: 3
    Last Post: 05-15-2011, 10:52 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