Results 1 to 3 of 3
  1. #1
    diddl is offline Novice
    Windows XP Access 2003
    Join Date
    Feb 2012
    Posts
    2

    Smile VBA Form to show table, edit data in just two columns and drill into one line

    Hi,

    I am not an experienced Access 2003 (and 2007) VBA programmer and I have to solve the following issue:

    Show a table in a form, out of 10 columns two should be highlighted and these two should allow changes to the data (therefore the highlight). If I change data, I would like to see the sum of that column in a different box in that form, immediately. The first column is the key (cannot be change). If I click one row, I would like to go to a new form that shows additional detail of the key.

    My question is, is that theoretical possible in Access 2003 or 2007 and if so, can you give me a brief explanation which box types, commands or so I have to use.



    Thank you very much in advance for your help.

    Diddl


  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    All is possible. Build form with a RecordSource of the table. Bind controls (textbox, combobox, listbox) to fields of the RecordSource. Set properties of controls (background color, enabled, tab stop). Code (macro or VBA) in Click or DoubleClick event of form to open another form.

    Review this: http://office.microsoft.com/en-us/ac...010341717.aspx
    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.

  3. #3
    diddl is offline Novice
    Windows XP Access 2003
    Join Date
    Feb 2012
    Posts
    2

    Smile

    June7,

    Thank you very much for the prompt answer. I was thinking in a similar direction. I will start working on it using your tips and I will come back if I stumble on some road blocks due to my limited knowledge.

    Thank you again!

    Diddl


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

Similar Threads

  1. Replies: 1
    Last Post: 06-08-2011, 07:30 AM
  2. Replies: 6
    Last Post: 02-24-2011, 03:24 PM
  3. How to edit data in a form
    By x3ldonx in forum Forms
    Replies: 2
    Last Post: 10-11-2010, 01:20 AM
  4. Replies: 1
    Last Post: 08-13-2010, 10:10 PM
  5. Most reliable way to edit form data in VBA...?
    By samalter in forum Programming
    Replies: 0
    Last Post: 06-23-2006, 12:39 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