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  dBforums > PC based Database Applications > Microsoft Access > Create a Form with table subform

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-09, 08:03
Francis23 Francis23 is offline
Registered User
 
Join Date: Jan 2009
Posts: 1
Question Create a Form with table subform

Hello,

First time posting, I'm an Access beginner in need of your guys' help with an Access 2000 problem I'm having.

I'm trying to create a Form that contains a table subform that, for each record in the main form, allows me to fill a new record in the table subform.

I have one table called Client, that has Client ID (primary key), Account Nš, Name, Last Name, Social Security. I also have another table called Products, with Products ID (primary key), Name, Nš Products bought in 2008, Nš Products bought in 2009, Nš Products bought in 2010.

I've attached a jpeg that shows what I've got, the Client Form, that has the Products table subform visible.
But right now, when I go through the main form records, the Table subform doesn't move to a new record so that I can fill it, it's always the same one.

Can you guys help me?
Attached Thumbnails
Create a Form with table subform-screenhunter_01-feb.-01-00.16.jpg   Create a Form with table subform-screenhunter_01-feb.-01-15.23.jpg  

Last edited by Francis23; 02-01-09 at 10:25.
Reply With Quote
  #2 (permalink)  
Old 02-01-09, 09:56
rogue rogue is offline
Registered User
 
Join Date: Apr 2004
Location: metro Detroit
Posts: 620
It sounds like the subform is not properly linked to the main form. Check the properties of the subform and make sure that the parent/child fields are correct.
Reply With Quote
  #3 (permalink)  
Old 02-01-09, 18:55
StarTrekker StarTrekker is offline
L33t Helpa Munky
 
Join Date: Nov 2007
Location: Adelaide, South Australia
Posts: 4,049
Don't bother imo. Your table design is flawed. In 2011 what are you going to do? What about 2015?

Also, your relationships look like a mistake.

Fix your table design first,... there is no sense building forms until your tables are right.
__________________
Owner and Manager of
CypherBYTE, Microsoft Access Development Specialists.
Microsoft Access MCP.
And all around nice guy!


"Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
"...teach a man to code and he'll be frustrated for life! " -- georgev
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On