Solved

Form opens for new record but want to edit existing records

Posted on 2014-11-25
3
255 Views
Last Modified: 2014-11-25
I have a form that opens for a new record via an onclick event of another form:

DoCmd.OpenForm "frmInventoryTransactions", acNormal, , , acFormAdd, acWindowNormal

But also on the is a "search" combobox.  When the user select a record from the combobox is there a way to make the form become record editable?

Or do I need two command buttons on the first form... one for new record and one for a searchable and record editable form open?

--Steve
0
Comment
Question by:SteveL13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 250 total points
ID: 40465128
use two buttons, one for add and one for edit
0
 
LVL 36

Assisted Solution

by:PatHartman
PatHartman earned 250 total points
ID: 40465248
And hide the search box when you open the form in add mode.
0
 

Author Closing Comment

by:SteveL13
ID: 40465268
Thanks to both of you.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question