How to create more than two subforms

H

Humble

Hi,

Can anyone help with creating subforms in Access 2007? Thanks.
I am creating database for my coating experiments. Here is the idea:
Each coated film may have one layer or two layers or three, each layer
has different composition and configuration. I would like to creat a
form show up all info of each coated film including each layer. I
created a master table stored info. with films and 1st layer table,
2nd layer table etc.
Basically I selected data by film ID from master table and 1st layer
table....., I can create a subform from 1st layer table, what about
2nd layer table and 3rd layer table if the film has more than one
layer. Do I need to write to do it?
Appreicate any suggestion.
Thanks.
 
J

Jerry Whittle

Well you shouldn't have a table for each layer. All the layer's should be in
one table.
 
J

John W. Vinson

Hi,

Can anyone help with creating subforms in Access 2007? Thanks.
I am creating database for my coating experiments. Here is the idea:
Each coated film may have one layer or two layers or three, each layer
has different composition and configuration. I would like to creat a
form show up all info of each coated film including each layer. I
created a master table stored info. with films and 1st layer table,
2nd layer table etc.
Basically I selected data by film ID from master table and 1st layer
table....., I can create a subform from 1st layer table, what about
2nd layer table and 3rd layer table if the film has more than one
layer. Do I need to write to do it?
Appreicate any suggestion.
Thanks.

Your table design is incorrect. You should have *ONE* table for all the
layers, with a LayerNumber field; if you have three layers you'll add three
records, if you have eighteen you'll add 18.

You can display the three layers on three separate subforms if you wish, by
basing each subform on a Query selecting one particular layer, but as a rule
this shouldn't be needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top