Solved

Form opens for new record but want to edit existing records

Posted on 2014-11-25
3
241 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

930 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

16 Experts available now in Live!

Get 1:1 Help Now