Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2003

    Question Unanswered: HELP - Add Record and open new form

    Hopefully this is a simple one...

    I have a command button that ADDs a new record..

    I also want it to bring the user to a new TAB when they click on the same ADD record button,,,

    How do I do this??
    Last edited by databasemon; 11-24-03 at 12:40.

  2. #2
    Join Date
    Nov 2003
    Not sure of exactly what you want but if all you want to do is to simply start a new record and the data entry is located on a specific tab in a tab control then the following code may be of some assistance:

    'Move to the specific tab in the tab control
    Me.TabCtl0.Value = 1
    'Add a new record.
    DoCmd.GoToRecord , , acNewRec

Posting Permissions

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