Results 1 to 4 of 4
  1. #1
    KAcharya is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    2

    Access Form

    Hi there,



    I have created a customer database for my small business. I have a form called "customer details". This is "view only" form, can not change customer details. I have added command called "edit customer details" to this form. When command button clicked on, it opens another form called "edit customer details".

    What I would like to do is when I select a customer in "customer detail" form and if I want to make any changes to this customer, I press "edit customer details" and it should open "edit customer details" form with this particular customer's details.

    However it is not happening. "edit customer details" form always opens first customer's details from the "customer" table.

    Can anybody help me please.

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Suggest you post your code that is behind your command button to open the edit form. Can't help you unless we know what you are doing.

    http://www.excelguru.ca/node/7

    http://www.access-programmers.co.uk/...d.php?t=216578

    Alan

  3. #3
    bbrazeau is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2011
    Posts
    101

    Sync forms

    Hi See if this helps.(see attached database)

  4. #4
    KAcharya is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    2

    code for cmd buttone

    <?xml version="1.0" encoding="UTF-16" standalone="no"?>
    <UserInterfaceMacros xmlns="http://schemas.microsoft.com/office/...InterfaceMacro For="CmdEditCustomerDetails" Event="OnClick"><Statements><Action Name="OpenForm"><Argument Name="FormName">Edit Customer Details</Argument><Argument Name="DataMode">Edit</Argument></Action></Statements></UserInterfaceMacro></UserInterfaceMacros>

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

Similar Threads

  1. Replies: 9
    Last Post: 08-07-2011, 11:21 AM
  2. Replies: 5
    Last Post: 03-11-2011, 10:29 PM
  3. Look ups in an Access Form
    By flubbs in forum Forms
    Replies: 3
    Last Post: 12-14-2010, 07:20 AM
  4. Updating SQL server form Access form?
    By slash75 in forum Forms
    Replies: 1
    Last Post: 09-06-2008, 02: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