A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

forms and tables



 
 
Thread Tools Display Modes
  #1  
Old October 8th, 2008, 05:18 PM posted to microsoft.public.access.tablesdbdesign
jeffobullo
external usenet poster
 
Posts: 3
Default forms and tables

As I enter information into a form, shouldn't this information appear in the
related table? I have instances where this is not happening. Can someone
please explain.

When I enter information directly in the table, the info does show up in the
form.
  #2  
Old October 8th, 2008, 07:17 PM posted to microsoft.public.access.tablesdbdesign
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default forms and tables

Do you get any error messages when entering the data through the form?

Is the record source for the form a table or a query? If a query, are more
than one table involved.

Are there any messages in the lower left of the window when typing in data
into the form?
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"jeffobullo" wrote:

As I enter information into a form, shouldn't this information appear in the
related table? I have instances where this is not happening. Can someone
please explain.

When I enter information directly in the table, the info does show up in the
form.

  #3  
Old October 8th, 2008, 07:46 PM posted to microsoft.public.access.tablesdbdesign
jeffobullo
external usenet poster
 
Posts: 3
Default forms and tables

Thanks Jerry.
Not getting any error messages when entering data through the form. The
record source for the form is a table.

I want to use the form as the the main data entry point. The report I've
written is pulling from the table, but since some of the data entered in the
form doesn't make it back to the table, the report has missing data in it.

"Jerry Whittle" wrote:

Do you get any error messages when entering the data through the form?

Is the record source for the form a table or a query? If a query, are more
than one table involved.

Are there any messages in the lower left of the window when typing in data
into the form?
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"jeffobullo" wrote:

As I enter information into a form, shouldn't this information appear in the
related table? I have instances where this is not happening. Can someone
please explain.

When I enter information directly in the table, the info does show up in the
form.

  #4  
Old October 8th, 2008, 10:41 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default forms and tables

On Wed, 8 Oct 2008 11:46:01 -0700, jeffobullo
wrote:

Thanks Jerry.
Not getting any error messages when entering data through the form. The
record source for the form is a table.

I want to use the form as the the main data entry point. The report I've
written is pulling from the table, but since some of the data entered in the
form doesn't make it back to the table, the report has missing data in it.


One common way this can happen is having the data on the form, but not yet
committed to the table before the Report is opened. Are you opening the report
from the form, or while the form is still open? If you close the form, or
intentionally save the record using shift-Enter, does the problem go away? If
you're opening the report using a command button or other form event, you can
put a line

DoCmd.RunCommand acCmdSaveRecord

before the line opening the report to save the record.
--

John W. Vinson [MVP]
  #5  
Old October 12th, 2008, 11:30 PM posted to microsoft.public.access.tablesdbdesign
Armen Stein
external usenet poster
 
Posts: 507
Default forms and tables

On Wed, 08 Oct 2008 15:41:23 -0600, John W. Vinson
wrote:

On Wed, 8 Oct 2008 11:46:01 -0700, jeffobullo
wrote:

Thanks Jerry.
Not getting any error messages when entering data through the form. The
record source for the form is a table.

I want to use the form as the the main data entry point. The report I've
written is pulling from the table, but since some of the data entered in the
form doesn't make it back to the table, the report has missing data in it.


One common way this can happen is having the data on the form, but not yet
committed to the table before the Report is opened. Are you opening the report
from the form, or while the form is still open? If you close the form, or
intentionally save the record using shift-Enter, does the problem go away? If
you're opening the report using a command button or other form event, you can
put a line

DoCmd.RunCommand acCmdSaveRecord

before the line opening the report to save the record.


When you enter data into the form, then close it and reopen it again,
are those fields blank again? If so, it's possible that those fields
are not actually bound to your underlying table.

Check the property sheet on those fields, and make sure the Control
Source property is a name of a field in your table. If the Control
Source is blank, that means your field is "unbound" and that would
cause your problem.

Armen Stein
Microsoft Access MVP
www.JStreetTech.com

  #6  
Old October 13th, 2008, 05:13 PM posted to microsoft.public.access.tablesdbdesign
jeffobullo
external usenet poster
 
Posts: 3
Default forms and tables

Thanks but that didn't do the trick. One thing I have noticed with the data
entered in the form that doesn't pull to the table is that these fields are
automatically populated. For instance, when I enter the employee number in
the form, the first and last name automatically populate in the form, but
does not make it the corresponding table.

Could this be part of the issue?

"Armen Stein" wrote:

On Wed, 08 Oct 2008 15:41:23 -0600, John W. Vinson
wrote:

On Wed, 8 Oct 2008 11:46:01 -0700, jeffobullo
wrote:

Thanks Jerry.
Not getting any error messages when entering data through the form. The
record source for the form is a table.

I want to use the form as the the main data entry point. The report I've
written is pulling from the table, but since some of the data entered in the
form doesn't make it back to the table, the report has missing data in it.


One common way this can happen is having the data on the form, but not yet
committed to the table before the Report is opened. Are you opening the report
from the form, or while the form is still open? If you close the form, or
intentionally save the record using shift-Enter, does the problem go away? If
you're opening the report using a command button or other form event, you can
put a line

DoCmd.RunCommand acCmdSaveRecord

before the line opening the report to save the record.


When you enter data into the form, then close it and reopen it again,
are those fields blank again? If so, it's possible that those fields
are not actually bound to your underlying table.

Check the property sheet on those fields, and make sure the Control
Source property is a name of a field in your table. If the Control
Source is blank, that means your field is "unbound" and that would
cause your problem.

Armen Stein
Microsoft Access MVP
www.JStreetTech.com


  #7  
Old October 13th, 2008, 09:40 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default forms and tables

On Mon, 13 Oct 2008 09:13:03 -0700, jeffobullo
wrote:

Thanks but that didn't do the trick. One thing I have noticed with the data
entered in the form that doesn't pull to the table is that these fields are
automatically populated. For instance, when I enter the employee number in
the form, the first and last name automatically populate in the form, but
does not make it the corresponding table.


What are the Control Source properties of the textboxes containing the names?
What is the Recordsource property of the form? I suspect that the form's
recordsource table does not (and should not!!) contain fields for the
employee's name; those fields should exist only in the employee table, NOT in
any other table.
--

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.