?
Solved

MS Access FORM

Posted on 2013-01-27
6
Medium Priority
?
289 Views
Last Modified: 2013-01-28
I created A table with two fields Name and ID. Table Name is CMA.

I created a form on MS Access with two text boxes and one button to insert into the CMA Table.

How can I achieve that as it is not saving?

Thanks
0
Comment
Question by:ramziabk
[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
  • 4
6 Comments
 
LVL 61

Expert Comment

by:mbizup
ID: 38824226
Look at the RecordSource property of your form.

What is it's current setting?

If you set the recordsource to CMA and the Control Sources of your textboxes to Name and ID., your values will save automatically.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 38824236
open form in design view

set the Record Source of the form  to CMA

set the Control Source of textbox 1 to ID

set the Control Source of textbox  to Name

this will make the form Bound to the table
records you enter in the form will be automatically saved when you move to New record .
0
 
LVL 1

Author Comment

by:ramziabk
ID: 38824242
I'm using Access 2007.

Can't see a property called Record Source for the Form!!!
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 61

Expert Comment

by:mbizup
ID: 38824257
Look in the form's property sheet - under the Data tab.

It is the property listed at the top.
0
 
LVL 61

Expert Comment

by:mbizup
ID: 38824262
Property sheet- recordsource
0
 
LVL 61

Accepted Solution

by:
mbizup earned 2000 total points
ID: 38824272
Once you get the recordsource setting correct, do this for each of your textboxes...

- Bring up the property sheet for the textbox
- Select the correct field from the list of options in the control source setting (also under the Data tab in the property sheet)

Property Sheet - Control Source
I'd recommend digging into a basic, general tutorial on Access - let us know if you want some suggestions for that.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

765 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