Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 12th, 2004, 01:27 PM
jediwizzo's Avatar
jediwizzo jediwizzo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 35 jediwizzo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Sub Forms help

Okay so I have a form this form is such that it has say a clients name , then I need a subform so that I can add custom images that this client has with me, then I need to add all of the products that are made with each custom image.

I am trying to use sub forms, which work for the data entry but when I go back to view the client none of the images and products I entered are there. They are added to the table but that is it.

Any suggestions?

Basically it breaks down to I need a form that has 'A' (main)
'B' (secondary) with the ability to add multiples to the entry, and 'C" (conects to 'B') with the ability to add multiples under each 'B'.
__________________
We bring the images on the Museum Walls into your retail store.

Reply With Quote
  #2  
Old March 12th, 2004, 01:35 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
Personnaly I don't like subforms, but...

two forms

Form1
MainForm with A data
with a subfrom with B data

Form2
MainForm with B Data (using a filter of A data ID)
witha subform with C data


S-

Reply With Quote
  #3  
Old March 12th, 2004, 03:12 PM
jediwizzo's Avatar
jediwizzo jediwizzo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 35 jediwizzo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I need this as one form.

If you dont like subforms then how would you do this? I am open for suggestions.

Reply With Quote
  #4  
Old March 12th, 2004, 03:49 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
What is the breakdown of you data structure for these three tables?

S-

Reply With Quote
  #5  
Old March 12th, 2004, 04:06 PM
jediwizzo's Avatar
jediwizzo jediwizzo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 35 jediwizzo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Okay so here is what I need. I have three things that need to be shown on a one form, they can be seperate tables or what ever.

I have the clients name. I also have a large list of images, these can be unique, the image list grows all the time though. Then I have a products list. Each client can have a variety of images that then have a variety of products.

I want to input on a single for the clients name, then each image they have, and each product for each image.

So it is something like this:

A
+B.1
+c.1.1
+c.1.2
+c.1.3
+b.2
+c.2.1
+c.2.2
+c.2.3

Reply With Quote
  #6  
Old March 12th, 2004, 04:22 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
Let me clarify

I need the data structure (field list) of your three tables that you using for store the info that you will enter on the form

S-

Reply With Quote
  #7  
Old March 12th, 2004, 04:42 PM
jediwizzo's Avatar
jediwizzo jediwizzo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 35 jediwizzo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Museum Name

Image List

Products List

Reply With Quote
  #8  
Old March 15th, 2004, 02:49 PM
jediwizzo's Avatar
jediwizzo jediwizzo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 35 jediwizzo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
So any further help on this? thanks

Reply With Quote
  #9  
Old March 15th, 2004, 03:24 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
Let me clarify so more

This is an example of what I need

Table1
CusomterID (PK)
CustomerName
CustomerAddress

Table2
OrderID (PK)
CustomerID (FK)
Terms

Table3
OrderID (PK/FK)
ItemID (PK/FK)
Qty
Price



S-

Reply With Quote
  #10  
Old March 15th, 2004, 03:28 PM
jediwizzo's Avatar
jediwizzo jediwizzo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 35 jediwizzo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I only have 3 things required for this:

Museum Name

Image Name

Products List

These can be separate tables or individual. I just need them to be able to be inputed on one form and I need it to allow for Multiple images under each museum and multiple products under each image.

Other than that I am open for guidence as how best to make this form and tables.

Reply With Quote
  #11  
Old March 15th, 2004, 03:36 PM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
Look at the northwind Sample database.

Look at the from [Customer Orders]

It has two sub forms on one form that are linked together and work together.

S-

Reply With Quote
  #12  
Old March 15th, 2004, 04:55 PM
jediwizzo's Avatar
jediwizzo jediwizzo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 35 jediwizzo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Where do I get the northwind Sample database?

Reply With Quote
  #13  
Old March 15th, 2004, 05:04 PM
jediwizzo's Avatar
jediwizzo jediwizzo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 35 jediwizzo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Found it thanks

Reply With Quote
  #14  
Old March 18th, 2004, 12:04 PM
jediwizzo's Avatar
jediwizzo jediwizzo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 35 jediwizzo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I just can not figure it out. I have enclosed a DB with 3 tables I need a form for this so that I can add multiples to each customer for the images table and then add multiples of each product for each image. I looked at the DB sample you told me too and then tried to rebuild it but it would not work. I must be doing something wrong in the form builder.

Please help...........

Thanks
Attached Files
File Type: zip db1.zip (14.4 KB, 188 views)

Reply With Quote
  #15  
Old March 19th, 2004, 10:37 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 13
If I have time over the weekend, I will look at it and see what I would suggest.

S-

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Sub Forms help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump