Solved

Form opens for new record but want to edit existing records

Posted on 2014-11-25
3
236 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
3 Comments
 
LVL 119

Accepted Solution

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now