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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

table linkage and sub forms



 
 
Thread Tools Display Modes
  #1  
Old December 30th, 2007, 07:48 AM posted to microsoft.public.access.forms
NES
external usenet poster
 
Posts: 106
Default table linkage and sub forms

Using Access 2003 in XP SP2 ...
I have a simple DB consisting of three tables. All three have a common field
called "Volunteer Number". The primary table is linked to the other two
tables in a one (primary table) -to-many (other tables) relationship.

The data entry form contains a tabbed control consisting of three tabs:
First tab is a continuation of the main form of data that does not need to
remain visible at all times. Second and third tabs are sub forms for each of
the other tables.

These two are continuous forms that by themselves show proper linkage to
their respective tables and display the Volunteer Number.

The primary form uses a query for it's data -- only because I needed to add
a single field in the query for "LastName FirstName" to do a record lookup in
the primary form header.

Once the sub forms were in place I had a very difficult time getting one of
them to progress with the primary form records, though the other form worked
fine. I finally deleted the faulty sub form and created a new one with the
wizard using all the default settings. Then it worked. Great!

Then, using a copy of the working DB (I'm getting smarter) I went in and
edited (shortened) the table names and sub form names. I went into each of
the forms' properties and corrected the Data source tables, and they show the
data in their tables corrrectly. However, now neither of the sub forms are
working properly(progressing with the primary form records) when brought into
the primary form.

I have tried rebuilding one of them as I did before, but this time it didn't
correct the problem. I'm at a loss as to why the sub forms are not linking
properly with the primary form. They show up all right -- they just don't
show the data that's already in the linked tables.

I can use the original DB and simply leave it alone if I must. But if
something were to go wrong with that one also, I wouldn't have a clue how to
fix it because I don't know where the problem lies. It's scary.

Can anyone tell me what I'm doing wrong? BTW, I've tried the old Compact
and repair bit. Also, please note that I've written several DBs using sub
forms and even a sub sub form in the past with no problems.

My sincere thanks to anyone willing to tackle this problem.

--
Norm Shimmel
Butler, PA
  #2  
Old December 30th, 2007, 09:11 AM posted to microsoft.public.access.forms
Baz[_3_]
external usenet poster
 
Posts: 96
Default table linkage and sub forms

I maybe stating the obvious here, but have you checked the Link Child Fields
and Link Master Fields properties of your sub form controls? You don't
mention this anywhere.

"NES" wrote in message
...
Using Access 2003 in XP SP2 ...
I have a simple DB consisting of three tables. All three have a common
field
called "Volunteer Number". The primary table is linked to the other two
tables in a one (primary table) -to-many (other tables) relationship.

The data entry form contains a tabbed control consisting of three tabs:
First tab is a continuation of the main form of data that does not need to
remain visible at all times. Second and third tabs are sub forms for each
of
the other tables.

These two are continuous forms that by themselves show proper linkage to
their respective tables and display the Volunteer Number.

The primary form uses a query for it's data -- only because I needed to
add
a single field in the query for "LastName FirstName" to do a record lookup
in
the primary form header.

Once the sub forms were in place I had a very difficult time getting one
of
them to progress with the primary form records, though the other form
worked
fine. I finally deleted the faulty sub form and created a new one with the
wizard using all the default settings. Then it worked. Great!

Then, using a copy of the working DB (I'm getting smarter) I went in and
edited (shortened) the table names and sub form names. I went into each of
the forms' properties and corrected the Data source tables, and they show
the
data in their tables corrrectly. However, now neither of the sub forms are
working properly(progressing with the primary form records) when brought
into
the primary form.

I have tried rebuilding one of them as I did before, but this time it
didn't
correct the problem. I'm at a loss as to why the sub forms are not linking
properly with the primary form. They show up all right -- they just don't
show the data that's already in the linked tables.

I can use the original DB and simply leave it alone if I must. But if
something were to go wrong with that one also, I wouldn't have a clue how
to
fix it because I don't know where the problem lies. It's scary.

Can anyone tell me what I'm doing wrong? BTW, I've tried the old Compact
and repair bit. Also, please note that I've written several DBs using sub
forms and even a sub sub form in the past with no problems.

My sincere thanks to anyone willing to tackle this problem.

--
Norm Shimmel
Butler, PA



  #3  
Old December 30th, 2007, 11:40 AM posted to microsoft.public.access.forms
NES
external usenet poster
 
Posts: 106
Default table linkage and sub forms

It's not all that obvious. I spent an hour looking for those properties (I
had seen them before) and discovered that I could only see them the first
time I clicked on one of the controls in the sub form, and ONLY immediatly
after going into design view. No help was evident when I looked.

Now I have looked at these and found that both child and master are linked
with the Volunteer Number field.

Thanks for your response. Where do we go from here?
--
Norm Shimmel
Butler, PA


"Baz" wrote:

I maybe stating the obvious here, but have you checked the Link Child Fields
and Link Master Fields properties of your sub form controls? You don't
mention this anywhere.

"NES" wrote in message
...
Using Access 2003 in XP SP2 ...
I have a simple DB consisting of three tables. All three have a common
field
called "Volunteer Number". The primary table is linked to the other two
tables in a one (primary table) -to-many (other tables) relationship.

The data entry form contains a tabbed control consisting of three tabs:
First tab is a continuation of the main form of data that does not need to
remain visible at all times. Second and third tabs are sub forms for each
of
the other tables.

These two are continuous forms that by themselves show proper linkage to
their respective tables and display the Volunteer Number.

The primary form uses a query for it's data -- only because I needed to
add
a single field in the query for "LastName FirstName" to do a record lookup
in
the primary form header.

Once the sub forms were in place I had a very difficult time getting one
of
them to progress with the primary form records, though the other form
worked
fine. I finally deleted the faulty sub form and created a new one with the
wizard using all the default settings. Then it worked. Great!

Then, using a copy of the working DB (I'm getting smarter) I went in and
edited (shortened) the table names and sub form names. I went into each of
the forms' properties and corrected the Data source tables, and they show
the
data in their tables corrrectly. However, now neither of the sub forms are
working properly(progressing with the primary form records) when brought
into
the primary form.

I have tried rebuilding one of them as I did before, but this time it
didn't
correct the problem. I'm at a loss as to why the sub forms are not linking
properly with the primary form. They show up all right -- they just don't
show the data that's already in the linked tables.

I can use the original DB and simply leave it alone if I must. But if
something were to go wrong with that one also, I wouldn't have a clue how
to
fix it because I don't know where the problem lies. It's scary.

Can anyone tell me what I'm doing wrong? BTW, I've tried the old Compact
and repair bit. Also, please note that I've written several DBs using sub
forms and even a sub sub form in the past with no problems.

My sincere thanks to anyone willing to tackle this problem.

--
Norm Shimmel
Butler, PA




  #4  
Old December 30th, 2007, 03:11 PM posted to microsoft.public.access.forms
NES
external usenet poster
 
Posts: 106
Default table linkage and sub forms

Problem solved! I apologize for the time you spent on trying to help. The
problem was in the Volunteer Number field I had entered into the Main form
header in order to facilitate a name search. Once that field was corrected,
all appeared in order.

Thanks very much for you kind offer of help.
--
Norm Shimmel
Butler, PA


"Baz" wrote:

I maybe stating the obvious here, but have you checked the Link Child Fields
and Link Master Fields properties of your sub form controls? You don't
mention this anywhere.

"NES" wrote in message
...
Using Access 2003 in XP SP2 ...
I have a simple DB consisting of three tables. All three have a common
field
called "Volunteer Number". The primary table is linked to the other two
tables in a one (primary table) -to-many (other tables) relationship.

The data entry form contains a tabbed control consisting of three tabs:
First tab is a continuation of the main form of data that does not need to
remain visible at all times. Second and third tabs are sub forms for each
of
the other tables.

These two are continuous forms that by themselves show proper linkage to
their respective tables and display the Volunteer Number.

The primary form uses a query for it's data -- only because I needed to
add
a single field in the query for "LastName FirstName" to do a record lookup
in
the primary form header.

Once the sub forms were in place I had a very difficult time getting one
of
them to progress with the primary form records, though the other form
worked
fine. I finally deleted the faulty sub form and created a new one with the
wizard using all the default settings. Then it worked. Great!

Then, using a copy of the working DB (I'm getting smarter) I went in and
edited (shortened) the table names and sub form names. I went into each of
the forms' properties and corrected the Data source tables, and they show
the
data in their tables corrrectly. However, now neither of the sub forms are
working properly(progressing with the primary form records) when brought
into
the primary form.

I have tried rebuilding one of them as I did before, but this time it
didn't
correct the problem. I'm at a loss as to why the sub forms are not linking
properly with the primary form. They show up all right -- they just don't
show the data that's already in the linked tables.

I can use the original DB and simply leave it alone if I must. But if
something were to go wrong with that one also, I wouldn't have a clue how
to
fix it because I don't know where the problem lies. It's scary.

Can anyone tell me what I'm doing wrong? BTW, I've tried the old Compact
and repair bit. Also, please note that I've written several DBs using sub
forms and even a sub sub form in the past with no problems.

My sincere thanks to anyone willing to tackle this problem.

--
Norm Shimmel
Butler, PA




  #5  
Old December 31st, 2007, 08:58 AM posted to microsoft.public.access.forms
Baz[_3_]
external usenet poster
 
Posts: 96
Default table linkage and sub forms

No problem, glad you got it fixed.

"NES" wrote in message
...
Problem solved! I apologize for the time you spent on trying to help. The
problem was in the Volunteer Number field I had entered into the Main form
header in order to facilitate a name search. Once that field was
corrected,
all appeared in order.

Thanks very much for you kind offer of help.
--
Norm Shimmel
Butler, PA


"Baz" wrote:

I maybe stating the obvious here, but have you checked the Link Child
Fields
and Link Master Fields properties of your sub form controls? You don't
mention this anywhere.

"NES" wrote in message
...
Using Access 2003 in XP SP2 ...
I have a simple DB consisting of three tables. All three have a common
field
called "Volunteer Number". The primary table is linked to the other
two
tables in a one (primary table) -to-many (other tables) relationship.

The data entry form contains a tabbed control consisting of three tabs:
First tab is a continuation of the main form of data that does not need
to
remain visible at all times. Second and third tabs are sub forms for
each
of
the other tables.

These two are continuous forms that by themselves show proper linkage
to
their respective tables and display the Volunteer Number.

The primary form uses a query for it's data -- only because I needed to
add
a single field in the query for "LastName FirstName" to do a record
lookup
in
the primary form header.

Once the sub forms were in place I had a very difficult time getting
one
of
them to progress with the primary form records, though the other form
worked
fine. I finally deleted the faulty sub form and created a new one with
the
wizard using all the default settings. Then it worked. Great!

Then, using a copy of the working DB (I'm getting smarter) I went in
and
edited (shortened) the table names and sub form names. I went into each
of
the forms' properties and corrected the Data source tables, and they
show
the
data in their tables corrrectly. However, now neither of the sub forms
are
working properly(progressing with the primary form records) when
brought
into
the primary form.

I have tried rebuilding one of them as I did before, but this time it
didn't
correct the problem. I'm at a loss as to why the sub forms are not
linking
properly with the primary form. They show up all right -- they just
don't
show the data that's already in the linked tables.

I can use the original DB and simply leave it alone if I must. But if
something were to go wrong with that one also, I wouldn't have a clue
how
to
fix it because I don't know where the problem lies. It's scary.

Can anyone tell me what I'm doing wrong? BTW, I've tried the old
Compact
and repair bit. Also, please note that I've written several DBs using
sub
forms and even a sub sub form in the past with no problems.

My sincere thanks to anyone willing to tackle this problem.

--
Norm Shimmel
Butler, PA






 




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:19 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.