Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004

    Unanswered: i m new to access, how to add code behind command buttons?

    i m using access to create database....i want to add code behind command buttons to add, delete, update the do i do so.....n how to access multiple tables on single form?

  2. #2
    Join Date
    Jul 2004
    Ok, before you create the command button, check that the wizard button is depressed in the toolbox menu.

    From now on, when you create a command button, a wizard will pop up that will allow you to choose what you want the button to do. If i remember correctly, add, update and delete are in there.

    As for the multiple tables on one form, what are you trying to achieve with this? Add, delete and update information on them?

  3. #3
    Join Date
    Jun 2004
    Florida, US
    I believe you need a starter book about Access or at least a tutorial site about the subject.

    but to add code to a button control you can right click on it and choose build event option. to show multiple tables you have 2 options depends on your needs.
    #1. you can create a query that compiles the data from multiple tables or
    #2. you can use subforms.

    here is a tutorial link for you:
    Last edited by ghozy; 09-21-04 at 11:33. Reason: Addition

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts