• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

MS Access FORM

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
ramziabk
Asked:
ramziabk
  • 4
1 Solution
 
mbizupCommented:
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
 
Rey Obrero (Capricorn1)Commented:
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
 
ramziabkAuthor Commented:
I'm using Access 2007.

Can't see a property called Record Source for the Form!!!
0
Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

 
mbizupCommented:
Look in the form's property sheet - under the Data tab.

It is the property listed at the top.
0
 
mbizupCommented:
Property sheet- recordsource
0
 
mbizupCommented:
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

Technology Partners: 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!

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now