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

Setting up a subform



 
 
Thread Tools Display Modes
  #1  
Old July 12th, 2009, 10:15 PM posted to microsoft.public.access
BrianPaul
external usenet poster
 
Posts: 200
Default Setting up a subform

I have set subforms up for records but, I don't know how I could do this one
without using a union Query which I have successfully accomplished but I know
its not the way it should be done.

I have a database I am doing for bible study.

I have a table, SubjectId (autonumber Primary Key), Subject (title of the
study set to txt field). Then, I have bible verse (memo), Remarks (memo)
Since they can be over 255 characters. Then I continue on bible verse1,
remarks1, Etc. clear up to 40.

Now, If I set up another table and have subjectid, (number) I linked the 2
tables in a query. Now I know I can add A BibleVerseID (autonumber) bible
verse(memo), Remarks (memo). Here is my question?

When Im in the form based on the query that links the 2 forms, How would I
go to the next record in the subform For the bible Verse and remarks, without
specifying again that it is tied to the Subject. I was told I could have
unlimited bible verses and remarks and wouldn't be wasting space. Then once
that soulution is figured out, then if I go to a new subject it wouldnt put
the ID number in for the old subject. I know there has to be a code on after
update on the record it would automatically would put the last ID stored in
for tieing the bible Verse and remarks with the correct subject. Thanks, I
know others had to go through the same problem that I had also.



  #2  
Old July 12th, 2009, 10:47 PM posted to microsoft.public.access
GM Leonric
external usenet poster
 
Posts: 4
Default Setting up a subform

On Jul 12, 3:15*pm, BrianPaul
wrote:
I have set subforms up for records but, I don't know how I could do this one
without using a union Query which I have successfully accomplished but I know
its not the way it should be done.

I have a database I am doing for bible study.

I have a table, SubjectId (autonumber Primary Key), Subject (title of the
study set to txt field). *Then, I have bible verse (memo), Remarks (memo)
Since they can be over 255 characters. Then I continue on bible verse1,
remarks1, Etc. clear up to 40.

Now, If I set up another table and have subjectid, (number) I linked the 2
tables in a query. *Now I know I can add A BibleVerseID (autonumber) bible
verse(memo), Remarks (memo). *Here is my question?

When Im in the form based on the query that links the 2 forms, How would I
go to the next record in the subform For the bible Verse and remarks, without
specifying again that it is tied to the Subject. *I was told I could have
unlimited bible verses and remarks and wouldn't be wasting space. *Then once
that soulution is figured out, then if I go to a new subject it wouldnt put
the ID number in for the old subject. *I know there has to be a code on after
update on the record it would automatically would put the last ID stored in
for tieing the bible Verse and remarks with the correct subject. *Thanks, I
know others had to go through the same problem that I had also.


Just a point of clarification. When you say, "Then I continue on bible
verse1, remarks1, Etc. clear up to 40." do you mean you have 40
different verses on a single record, or that you have 40 records, each
with a different verse?

Keven Denen
  #3  
Old July 12th, 2009, 11:28 PM posted to microsoft.public.access
BrianPaul
external usenet poster
 
Posts: 200
Default Setting up a subform

I have 40 fields set up for bible verses and 40 for remarks, That shouldn't
bet that way. However, I need a separate table, My problem is I have to
enter the subject again so that the verse and remark goes with the subject.
I need it to store the value the SubjectID in that table so the verse and
remarks goes along with the subject. I mean it works, However, pain to keep
entering the subject number again then go to the next bible verse and remark.

"GM Leonric" wrote:

On Jul 12, 3:15 pm, BrianPaul
wrote:
I have set subforms up for records but, I don't know how I could do this one
without using a union Query which I have successfully accomplished but I know
its not the way it should be done.

I have a database I am doing for bible study.

I have a table, SubjectId (autonumber Primary Key), Subject (title of the
study set to txt field). Then, I have bible verse (memo), Remarks (memo)
Since they can be over 255 characters. Then I continue on bible verse1,
remarks1, Etc. clear up to 40.

Now, If I set up another table and have subjectid, (number) I linked the 2
tables in a query. Now I know I can add A BibleVerseID (autonumber) bible
verse(memo), Remarks (memo). Here is my question?

When Im in the form based on the query that links the 2 forms, How would I
go to the next record in the subform For the bible Verse and remarks, without
specifying again that it is tied to the Subject. I was told I could have
unlimited bible verses and remarks and wouldn't be wasting space. Then once
that soulution is figured out, then if I go to a new subject it wouldnt put
the ID number in for the old subject. I know there has to be a code on after
update on the record it would automatically would put the last ID stored in
for tieing the bible Verse and remarks with the correct subject. Thanks, I
know others had to go through the same problem that I had also.


Just a point of clarification. When you say, "Then I continue on bible
verse1, remarks1, Etc. clear up to 40." do you mean you have 40
different verses on a single record, or that you have 40 records, each
with a different verse?

Keven Denen

  #4  
Old July 13th, 2009, 01:54 AM posted to microsoft.public.access
CompGeek78
external usenet poster
 
Posts: 115
Default Setting up a subform

On Jul 12, 4:28*pm, BrianPaul
wrote:
I have 40 fields set up for bible verses and 40 for remarks, *That shouldn't
bet that way. *However, I need a separate table, My problem is I have to
enter the subject again so that the verse and remark goes with the subject. *
I need it to store the value the SubjectID in that table so the verse and
remarks goes along with the subject. *I mean it works, However, pain to keep
entering the subject number again then go to the next bible verse and remark.

"GM Leonric" wrote:
On Jul 12, 3:15 pm, BrianPaul
wrote:
I have set subforms up for records but, I don't know how I could do this one
without using a union Query which I have successfully accomplished but I know
its not the way it should be done.


I have a database I am doing for bible study.


I have a table, SubjectId (autonumber Primary Key), Subject (title of the
study set to txt field). *Then, I have bible verse (memo), Remarks (memo)
Since they can be over 255 characters. Then I continue on bible verse1,
remarks1, Etc. clear up to 40.


Now, If I set up another table and have subjectid, (number) I linked the 2
tables in a query. *Now I know I can add A BibleVerseID (autonumber) bible
verse(memo), Remarks (memo). *Here is my question?


When Im in the form based on the query that links the 2 forms, How would I
go to the next record in the subform For the bible Verse and remarks, without
specifying again that it is tied to the Subject. *I was told I could have
unlimited bible verses and remarks and wouldn't be wasting space. *Then once
that soulution is figured out, then if I go to a new subject it wouldnt put
the ID number in for the old subject. *I know there has to be a code on after
update on the record it would automatically would put the last ID stored in
for tieing the bible Verse and remarks with the correct subject. *Thanks, I
know others had to go through the same problem that I had also.


Just a point of clarification. When you say, "Then I continue on bible
verse1, remarks1, Etc. clear up to 40." do you mean you have 40
different verses on a single record, or that you have 40 records, each
with a different verse?


Keven Denen


Setting your data up like this is going to make it very difficult to
get anything to work properly. Normalize your data properly and
setting up what you need is much easier.
  #5  
Old July 13th, 2009, 02:59 AM posted to microsoft.public.access
CompGeek78
external usenet poster
 
Posts: 115
Default Setting up a subform

On Jul 12, 6:54*pm, CompGeek78 wrote:
On Jul 12, 4:28*pm, BrianPaul
wrote:



I have 40 fields set up for bible verses and 40 for remarks, *That shouldn't
bet that way. *However, I need a separate table, My problem is I have to
enter the subject again so that the verse and remark goes with the subject. *
I need it to store the value the SubjectID in that table so the verse and
remarks goes along with the subject. *I mean it works, However, pain to keep
entering the subject number again then go to the next bible verse and remark.


"GM Leonric" wrote:
On Jul 12, 3:15 pm, BrianPaul
wrote:
I have set subforms up for records but, I don't know how I could do this one
without using a union Query which I have successfully accomplished but I know
its not the way it should be done.


I have a database I am doing for bible study.


I have a table, SubjectId (autonumber Primary Key), Subject (title of the
study set to txt field). *Then, I have bible verse (memo), Remarks (memo)
Since they can be over 255 characters. Then I continue on bible verse1,
remarks1, Etc. clear up to 40.


Now, If I set up another table and have subjectid, (number) I linked the 2
tables in a query. *Now I know I can add A BibleVerseID (autonumber) bible
verse(memo), Remarks (memo). *Here is my question?


When Im in the form based on the query that links the 2 forms, How would I
go to the next record in the subform For the bible Verse and remarks, without
specifying again that it is tied to the Subject. *I was told I could have
unlimited bible verses and remarks and wouldn't be wasting space. *Then once
that soulution is figured out, then if I go to a new subject it wouldnt put
the ID number in for the old subject. *I know there has to be a code on after
update on the record it would automatically would put the last ID stored in
for tieing the bible Verse and remarks with the correct subject. *Thanks, I
know others had to go through the same problem that I had also.


Just a point of clarification. When you say, "Then I continue on bible
verse1, remarks1, Etc. clear up to 40." do you mean you have 40
different verses on a single record, or that you have 40 records, each
with a different verse?


Keven Denen


Setting your data up like this is going to make it very difficult to
get anything to work properly. Normalize your data properly and
setting up what you need is much easier.


If you do set your data up properly, your whole problem is solved. You
can then make a main form with the Subject and a subform with the
verse/remark. When you enter data into the subform, it will
automatically fill in the subject info into the verse table (as long
as you set your master/child fields up properly).

Keven Denen
  #6  
Old July 13th, 2009, 04:51 PM posted to microsoft.public.access
Steve[_72_]
external usenet poster
 
Posts: 190
Default Setting up a subform

Hello Brian,

See my response to your previous post regarding searching and your problem
will disappear.

Steve



"BrianPaul" wrote in message
...
I have set subforms up for records but, I don't know how I could do this
one
without using a union Query which I have successfully accomplished but I
know
its not the way it should be done.

I have a database I am doing for bible study.

I have a table, SubjectId (autonumber Primary Key), Subject (title of the
study set to txt field). Then, I have bible verse (memo), Remarks (memo)
Since they can be over 255 characters. Then I continue on bible verse1,
remarks1, Etc. clear up to 40.

Now, If I set up another table and have subjectid, (number) I linked the 2
tables in a query. Now I know I can add A BibleVerseID (autonumber) bible
verse(memo), Remarks (memo). Here is my question?

When Im in the form based on the query that links the 2 forms, How would I
go to the next record in the subform For the bible Verse and remarks,
without
specifying again that it is tied to the Subject. I was told I could have
unlimited bible verses and remarks and wouldn't be wasting space. Then
once
that soulution is figured out, then if I go to a new subject it wouldnt
put
the ID number in for the old subject. I know there has to be a code on
after
update on the record it would automatically would put the last ID stored
in
for tieing the bible Verse and remarks with the correct subject. Thanks,
I
know others had to go through the same problem that I had also.





 




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 03:33 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.