8 tables - need 1 form

G

Guest

i have 8 separate tables and dont understand why they need relationships if
they are in the same db. im told the need relationships. i add a common field
to each and attempt to relate them. i am allowed to create my query and form
then. then i try to add data with my form, i get this error.

'The changes you requested to the table were not successful because they
would create duplicate values in the index, primary key, or relationship.
(Error 3022) Change the data in the field or fields that contain duplicate
data, remove the index, or redefine the index to permit duplicate entries,
and try again. '

im stuck guys...and gals...
 
G

Guest

Show us the SQL. Open the query in design view. Next go to View, SQL View
and copy and past it here. Information on primary keys and relationships
would be a nice touch too.
 
G

Guest

you will see i have a 'NAME' column that is the common field i want to link,
but i get an error of having a NULL value when i try to set the 01 Name field
as the primary key in each Table.

heres the SQL:

SELECT [01 General Info].[01 Name] AS [01 General Info_01 Name], [01 General
Info].[01 Date], [01 General Info].[01 Address], [01 General Info].[01 City],
[01 General Info].[01 State], [01 General Info].[01 Zip], [01 General
Info].[01 Home Phone], [01 General Info].[01 His Cell], [01 General Info].[01
Her Cell], [01 General Info].[01 Email #1], [01 General Info].[01 Email #2],
[01 General Info].[02 Budget], [01 General Info].[02 Square Footage], [01
General Info].[02 Lot Cost], [01 General Info].[02 Lot #], [01 General
Info].[02 Subdivision], [01 General Info].[02 City], [02 Elevations, Entry,
Dining].[01 Name] AS [02 Elevations, Entry, Dining_01 Name], [02 Elevations,
Entry, Dining].[03a Brick], [02 Elevations, Entry, Dining].[03a Stone], [02
Elevations, Entry, Dining].[03a Stucco], [02 Elevations, Entry, Dining].[03a
Vinyl], [02 Elevations, Entry, Dining].[03a Log Siding], [02 Elevations,
Entry, Dining].[03a Shakes], [02 Elevations, Entry, Dining].[03a Dormers],
[02 Elevations, Entry, Dining].[03a Swoops], [02 Elevations, Entry,
Dining].[03a Shutters], [02 Elevations, Entry, Dining].[03a Finials], [02
Elevations, Entry, Dining].[03a Cupolas], [02 Elevations, Entry,
Dining].[Entry Door], [02 Elevations, Entry, Dining].[03b Left Sidelight],
[02 Elevations, Entry, Dining].[03b Right Sidelight], [02 Elevations, Entry,
Dining].[03b Transom], [02 Elevations, Entry, Dining].[03b Window Above], [02
Elevations, Entry, Dining].[03b Arched], [02 Elevations, Entry, Dining].[03b
Twin], [02 Elevations, Entry, Dining].[03b Door Size], [02 Elevations, Entry,
Dining].Roof, [02 Elevations, Entry, Dining].[03c Shingles], [02 Elevations,
Entry, Dining].[03c Shakes], [02 Elevations, Entry, Dining].[03c Tile], [02
Elevations, Entry, Dining].[03c Cupola], [02 Elevations, Entry, Dining].[03c
Finials], [02 Elevations, Entry, Dining].[03c Notes], [02 Elevations, Entry,
Dining].[04a Brick], [02 Elevations, Entry, Dining].[04a Stone], [02
Elevations, Entry, Dining].[04a Stucco], [02 Elevations, Entry, Dining].[04a
Vinyl Siding], [02 Elevations, Entry, Dining].[04a Two Story], [02
Elevations, Entry, Dining].[04b Can See Rear Yard], [02 Elevations, Entry,
Dining].[04b Access to Staircase], [02 Elevations, Entry, Dining].[04c Wrap
Around], [02 Elevations, Entry, Dining].[04c Small], [02 Elevations, Entry,
Dining].[04c Space for Furniture], [02 Elevations, Entry, Dining].[04c
Notes], [02 Elevations, Entry, Dining].[05a Dining Table Size], [02
Elevations, Entry, Dining].[05a China Cabinet], [02 Elevations, Entry,
Dining].[05a Buffet], [02 Elevations, Entry, Dining].[05b Vault], [02
Elevations, Entry, Dining].[05b Beam], [02 Elevations, Entry, Dining].[05b
Treyed/Boxed], [02 Elevations, Entry, Dining].[05b Flat], [02 Elevations,
Entry, Dining].[05b Notes], [03 Living Spaces].[01 Name] AS [03 Living
Spaces_01 Name], [03 Living Spaces].[06a Built-in Shelving], [03 Living
Spaces].[06a Built-in Desk], [03 Living Spaces].[06a Fireplace], [03 Living
Spaces].[06b Vault], [03 Living Spaces].[06b Beam], [03 Living Spaces].[06b
Treyed/Boxed], [03 Living Spaces].[06b Flat], [03 Living Spaces].[06b Notes],
[03 Living Spaces].[07a Corner], [03 Living Spaces].[07a Gas/Log], [03 Living
Spaces].[07a Wood Burning], [03 Living Spaces].[07a Double See Through], [03
Living Spaces].[07b Flat Panel TV], [03 Living Spaces].[07b Rear Projection
TV], [03 Living Spaces].[07b TV Size], [03 Living Spaces].[07b Component
Space], [03 Living Spaces].[07c Above Fireplace], [03 Living Spaces].[07c
Entertainment Center], [03 Living Spaces].[07c Size:], [03 Living
Spaces].[07c Wall Mount], [03 Living Spaces].[07c Access to Patio], [03
Living Spaces].[07d Vault], [03 Living Spaces].[07d Beam], [03 Living
Spaces].[07d Treyed/Boxed], [03 Living Spaces].[07d Flat], [03 Living
Spaces].[07d Notes], [03 Living Spaces].[08a Corner], [03 Living Spaces].[08a
Gas/Log], [03 Living Spaces].[08a Wood Burning], [03 Living Spaces].[08a
Double See Through], [03 Living Spaces].[08b Flat Panel TV], [03 Living
Spaces].[08b Rear Projection TV], [03 Living Spaces].[08b TV Size], [03
Living Spaces].[08b Component Space], [03 Living Spaces].[08c Above
Fireplace], [03 Living Spaces].[08c Entertainment Center], [03 Living
Spaces].[08c Size:], [03 Living Spaces].[08c Wall Mount], [03 Living
Spaces].[08c Access to Patio], [03 Living Spaces].[08c Vault], [03 Living
Spaces].[08d Beam], [03 Living Spaces].[08d Treyed/Boxed], [03 Living
Spaces].[08d Flat], [03 Living Spaces].[08d Notes:], [03 Living Spaces].[09a
Corner], [03 Living Spaces].[09a Gas/Log], [03 Living Spaces].[09a Wood
Burning], [03 Living Spaces].[09a Double See Through], [03 Living
Spaces].[09b Flat Panel TV], [03 Living Spaces].[09b Rear Projection TV], [03
Living Spaces].[09b TV Size], [03 Living Spaces].[09b Component Space], [03
Living Spaces].[09c Above Fireplace], [03 Living Spaces].[09c Entertainment
Center], [03 Living Spaces].[09c Size:], [03 Living Spaces].[09c Wall Mount],
[03 Living Spaces].[09c Access to Patio], [03 Living Spaces].[09c Vault], [03
Living Spaces].[09d Beam], [03 Living Spaces].[09d Treyed/Boxed], [03 Living
Spaces].[09d Flat], [03 Living Spaces].[09d Notes:], [03 Living Spaces].[10a
Yes], [03 Living Spaces].[10a No], [03 Living Spaces].[10a How Many?], [03
Living Spaces].[10a Near Entry], [03 Living Spaces].[10b Pedestal Sink], [03
Living Spaces].[10b Cabinet Sink], [03 Living Spaces].[10b Furniture Sink],
[03 Living Spaces].[10b Notes:], [04 Kitchen - Utility].[01 Name] AS [04
Kitchen - Utility_01 Name], [04 Kitchen - Utility].[11a 36"], [04 Kitchen -
Utility].[11a 42"], [04 Kitchen - Utility].[11a 48"], [04 Kitchen -
Utility].[11a Cabinet Front], [04 Kitchen - Utility].[11a Oven/Range Combo],
[04 Kitchen - Utility].[11a Double], [04 Kitchen - Utility].[11a
Oven/Microwave Combo], [04 Kitchen - Utility].[11a Cooktop], [04 Kitchen -
Utility].[11a Size:], [04 Kitchen - Utility].[11a Custom Hood], [04 Kitchen -
Utility].[11a Description], [04 Kitchen - Utility].[11b Trash Compactor], [04
Kitchen - Utility].[11b Ice Maker], [04 Kitchen - Utility].[11b Wine Cooler],
[04 Kitchen - Utility].[11b Freezer], [04 Kitchen - Utility].[11b Chest], [04
Kitchen - Utility].[11b Standup], [04 Kitchen - Utility].[11b Extra
Refrigerator], [04 Kitchen - Utility].[11b TV], [04 Kitchen - Utility].[11c
Raised], [04 Kitchen - Utility].[11c Flush], [04 Kitchen - Utility].[11d
Walk-in Pantry], [04 Kitchen - Utility].[11d Island], [04 Kitchen -
Utility].[11d Island Sink], [04 Kitchen - Utility].[11d Ice Maker], [04
Kitchen - Utility].[11d Breakfast Area], [04 Kitchen - Utility].[11d
Appliance Garage], [04 Kitchen - Utility].[11d Spice Rack], [04 Kitchen -
Utility].[11d Lazy Susan], [04 Kitchen - Utility].[11d Hutch], [04 Kitchen -
Utility].[11d Notes:], [04 Kitchen - Utility].[12a Mini Fridge], [04 Kitchen
- Utility].[12a Sink], [04 Kitchen - Utility].[12a Trash Compactor], [04
Kitchen - Utility].[12a Wine Cooler], [04 Kitchen - Utility].[12a Glass
Dishwasher], [04 Kitchen - Utility].[12a Ice Maker], [04 Kitchen -
Utility].[12a Notes:], [04 Kitchen - Utility].[13a Bay Window], [04 Kitchen -
Utility].[13a Built-in Seating], [04 Kitchen - Utility].[13a Notes:], [04
Kitchen - Utility].[14a Front Load W/D], [04 Kitchen - Utility].[14a Ironing
Board], [04 Kitchen - Utility].[14a Sink], [04 Kitchen - Utility].[14a
Hanging Space], [04 Kitchen - Utility].[14a Wardrobe], [04 Kitchen -
Utility].[14a Closet], [04 Kitchen - Utility].[14a Folding Space], [04
Kitchen - Utility].[14a Freezer Space], [04 Kitchen - Utility].[14a Mudd
Room], [04 Kitchen - Utility].[14a Notes:], [05 Master Suite].[01 Name] AS
[05 Master Suite_01 Name], [05 Master Suite].[15a Sitting Area], [05 Master
Suite].[15a Access to Patio], [05 Master Suite].[15a First Floor], [05 Master
Suite].[15a Fireplace], [05 Master Suite].[15a Gas/Log], [05 Master
Suite].[15a TV], [05 Master Suite].[15a TV Location:], [05 Master Suite].[15a
Furniture:], [05 Master Suite].[15a Notes:], [05 Master Suite].[16a
Whirlpool], [05 Master Suite].[16a 5ft], [05 Master Suite].[16a 6ft], [05
Master Suite].[16a Oval], [05 Master Suite].[16a Rectangular], [05 Master
Suite].[16a Columns], [05 Master Suite].[16a Glass Block Window], [05 Master
Suite].[16a Picture Window], [05 Master Suite].[16b Doorless Walk-in], [05
Master Suite].[16b Frameless Glass Door], [05 Master Suite].[16b Glass], [05
Master Suite].[16b Fiberglass], [05 Master Suite].[16b Size:], [05 Master
Suite].[16b Overhead Spray], [05 Master Suite].[16b Dbl Shower Head], [05
Master Suite].[16b Body Spray], [05 Master Suite].[16b Seating], [05 Master
Suite].[16c Furniture], [05 Master Suite].[16c Cabinet], [05 Master
Suite].[16c Separate], [05 Master Suite].[16c Appliance Garage], [05 Master
Suite].[16c Knee Space], [05 Master Suite].[16d Closet], [05 Master
Suite].[16d Cabinet Style], [05 Master Suite].[16d Furniture Style], [05
Master Suite].[16d Notes:], [05 Master Suite].[17a Ironing Board], [05 Master
Suite].[17a Built-in Dresser], [05 Master Suite].[17a Mirror], [05 Master
Suite].[17a Seating], [05 Master Suite].[17a Island], [05 Master Suite].[17a
Shoe Rack], [05 Master Suite].[17b Ironing Board], [05 Master Suite].[17b
Built-in Dresser], [05 Master Suite].[17b Mirror], [05 Master Suite].[17b
Seating], [05 Master Suite].[17b Island], [05 Master Suite].[17b Shoe Rack],
[06 Other Bedrooms].[01 Name] AS [06 Other Bedrooms_01 Name], [06 Other
Bedrooms].[18a Walk-in Closet], [06 Other Bedrooms].[18a Direct Access to
Bath], [06 Other Bedrooms].[18a Jack-n-Jill], [06 Other Bedrooms].[18a First
Floor], [06 Other Bedrooms].[18a Second Floor], [06 Other Bedrooms].[18a
Built-in Desk], [06 Other Bedrooms].[19a Walk-in Closet], [06 Other
Bedrooms].[19a Direct Access to Bath], [06 Other Bedrooms].[19a Jack-n-Jill],
[06 Other Bedrooms].[19a First Floor], [06 Other Bedrooms].[19a Second
Floor], [06 Other Bedrooms].[19a Built-in Desk], [06 Other Bedrooms].[20a
Walk-in Closet], [06 Other Bedrooms].[20a Direct Access to Bath], [06 Other
Bedrooms].[20a Jack-n-Jill], [06 Other Bedrooms].[20a First Floor], [06 Other
Bedrooms].[20a Second Floor], [06 Other Bedrooms].[20a Built-in Desk], [06
Other Bedrooms].[21a Walk-in Closet], [06 Other Bedrooms].[21a Direct Access
to Bath], [06 Other Bedrooms].[21a First Floor], [06 Other Bedrooms].[21a
Second Floor], [06 Other Bedrooms].[21a Notes:], [07 Specialty Rooms].[01
Name] AS [07 Specialty Rooms_01 Name], [07 Specialty Rooms].[22a Play Room],
[07 Specialty Rooms].[22a Exercise], [07 Specialty Rooms].[22a Office], [07
Specialty Rooms].[22a General Use], [07 Specialty Rooms].[22b Bathroom Near],
[07 Specialty Rooms].[22b Storage Closet], [07 Specialty Rooms].[22b Attic
Access], [07 Specialty Rooms].[22b Window], [07 Specialty Rooms].[22b
Bathroom], [07 Specialty Rooms].[22b Notes:], [07 Specialty Rooms].[23a Flat
Panel], [07 Specialty Rooms].[23a Rear Projection TV], [07 Specialty
Rooms].[23a Projector w/ Screen], [07 Specialty Rooms].[23a Size:], [07
Specialty Rooms].[23a Component Space], [07 Specialty Rooms].[23a Number of
Seats:], [07 Specialty Rooms].[23b Sink], [07 Specialty Rooms].[23b
Refridgerator], [07 Specialty Rooms].[23b Size:], [07 Specialty Rooms].[23b
Ice Maker], [07 Specialty Rooms].[23b Powder Room], [07 Specialty Rooms].[23b
Pool Table], [07 Specialty Rooms].[23b Game/Card Table], [07 Specialty
Rooms].[23b Gaming Units], [07 Specialty Rooms].[23b Type:], [07 Specialty
Rooms].[23b Notes:], [07 Specialty Rooms].[24a Screen Size:], [07 Specialty
Rooms].[24a Number of Seats:], [07 Specialty Rooms].[24a Theatre Pantry], [07
Specialty Rooms].[24a Refrigerator], [07 Specialty Rooms].[24a Size:], [07
Specialty Rooms].[24a Notes:], [07 Specialty Rooms].[25a Flat Panel], [07
Specialty Rooms].[25a Pool Table], [07 Specialty Rooms].[25a Game/Card
Table], [07 Specialty Rooms].[25a Gaming Units], [07 Specialty Rooms].[25a
Type:], [07 Specialty Rooms].[25b Sink], [07 Specialty Rooms].[25b
Refrigerator Size:], [07 Specialty Rooms].[25b Ice Maker], [07 Specialty
Rooms].[25b Notes:], [07 Specialty Rooms].[26a Treadmill], [07 Specialty
Rooms].[26a Weight Bench], [07 Specialty Rooms].[26a Elliptical Machine], [07
Specialty Rooms].[26a Bike], [07 Specialty Rooms].[26a Other:], [07 Specialty
Rooms].[26a TV], [07 Specialty Rooms].[26a Closet], [07 Specialty Rooms].[26a
Near Master Bedroom], [07 Specialty Rooms].[26a Notes:], [07 Specialty
Rooms].[27a Guest Bed], [07 Specialty Rooms].[27a Kitchenette], [07 Specialty
Rooms].[27a Bathroom], [07 Specialty Rooms].[27a Bungalow], [07 Specialty
Rooms].[27a Notes:], [07 Specialty Rooms].[28a Walk-out], [07 Specialty
Rooms].[28a Guest Suite], [07 Specialty Rooms].[28a Activity Room], [07
Specialty Rooms].[28a Bathroom], [07 Specialty Rooms].[28a Pool Access], [07
Specialty Rooms].[28a Pool House], [08 Garage, Extra, Mechanical].[01 Name]
AS [08 Garage, Extra, Mechanical_01 Name], [08 Garage, Extra,
Mechanical].[29a Number of Bays:], [08 Garage, Extra, Mechanical].[29a Large
SUV], [08 Garage, Extra, Mechanical].[29a Quad Cab Truck], [08 Garage, Extra,
Mechanical].[29a Van], [08 Garage, Extra, Mechanical].[29a Boat], [08 Garage,
Extra, Mechanical].[29b Workshop Space], [08 Garage, Extra, Mechanical].[29b
Storage Closet], [08 Garage, Extra, Mechanical].[29b Notes:], [08 Garage,
Extra, Mechanical].[30a Large], [08 Garage, Extra, Mechanical].[30a
Fireplace], [08 Garage, Extra, Mechanical].[30a Kitchenette], [08 Garage,
Extra, Mechanical].[30a Screened It], [08 Garage, Extra, Mechanical].[30a
Water Feature], [08 Garage, Extra, Mechanical].[30a Notes:], [08 Garage,
Extra, Mechanical].[31a Safe Room], [08 Garage, Extra, Mechanical].[31a Sun
Room], [08 Garage, Extra, Mechanical].[31a Pool], [08 Garage, Extra,
Mechanical].[31a Court Yard], [08 Garage, Extra, Mechanical].[31a Hidden
Safe], [08 Garage, Extra, Mechanical].[31a Hot Tub], [08 Garage, Extra,
Mechanical].[32a Geothermal H/A], [08 Garage, Extra, Mechanical].[32a
Conventional H/A], [08 Garage, Extra, Mechanical].[32a Other:]
FROM (((((([01 General Info] INNER JOIN [03 Living Spaces] ON [01 General
Info].[01 Name] = [03 Living Spaces].[01 Name]) INNER JOIN [04 Kitchen -
Utility] ON [01 General Info].[01 Name] = [04 Kitchen - Utility].[01 Name])
INNER JOIN [05 Master Suite] ON [01 General Info].[01 Name] = [05 Master
Suite].[01 Name]) INNER JOIN [06 Other Bedrooms] ON [01 General Info].[01
Name] = [06 Other Bedrooms].[01 Name]) INNER JOIN [07 Specialty Rooms] ON [01
General Info].[01 Name] = [07 Specialty Rooms].[01 Name]) INNER JOIN [08
Garage, Extra, Mechanical] ON [01 General Info].[01 Name] = [08 Garage,
Extra, Mechanical].[01 Name]) INNER JOIN [02 Elevations, Entry, Dining] ON
[01 General Info].[01 Name] = [02 Elevations, Entry, Dining].[01 Name];
 
G

Guest

Where to start....

First off your database design has a lot of problems. It's not properly
normalize and will probably never work satisfactorily. I highly suggest
getting some relational database training or reading "Database Design for
Mere Mortals" by Hernandez before proceeding any further on this database.

Second when you redesign this database, do not use any special characters,
except the Underscore _ , nor spaces in any table or field names. Trust me on
this. Access allows you to do it, but it's not a good thing.

Next if this is for a business, have you checked the trade journals or other
sources for commercial software? Unless you want to learn Access and database
design, chances are something Off The Shelf is going to be both cheaper and
faster in the long run.

Now to finally answer your question, the right way to do this is to create a
form from your main table and then subforms from it on all your other tables.
Access will then properly populate the foreign key fields.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


avoidthelloyd said:
you will see i have a 'NAME' column that is the common field i want to link,
but i get an error of having a NULL value when i try to set the 01 Name field
as the primary key in each Table.

heres the SQL:

SELECT [01 General Info].[01 Name] AS [01 General Info_01 Name], [01 General
Info].[01 Date], [01 General Info].[01 Address], [01 General Info].[01 City],
[01 General Info].[01 State], [01 General Info].[01 Zip], [01 General
Info].[01 Home Phone], [01 General Info].[01 His Cell], [01 General Info].[01
Her Cell], [01 General Info].[01 Email #1], [01 General Info].[01 Email #2],
[01 General Info].[02 Budget], [01 General Info].[02 Square Footage], [01
General Info].[02 Lot Cost], [01 General Info].[02 Lot #], [01 General
Info].[02 Subdivision], [01 General Info].[02 City], [02 Elevations, Entry,
Dining].[01 Name] AS [02 Elevations, Entry, Dining_01 Name], [02 Elevations,
Entry, Dining].[03a Brick], [02 Elevations, Entry, Dining].[03a Stone], [02
Elevations, Entry, Dining].[03a Stucco], [02 Elevations, Entry, Dining].[03a
Vinyl], [02 Elevations, Entry, Dining].[03a Log Siding], [02 Elevations,
Entry, Dining].[03a Shakes], [02 Elevations, Entry, Dining].[03a Dormers],
[02 Elevations, Entry, Dining].[03a Swoops], [02 Elevations, Entry,
Dining].[03a Shutters], [02 Elevations, Entry, Dining].[03a Finials], [02
Elevations, Entry, Dining].[03a Cupolas], [02 Elevations, Entry,
Dining].[Entry Door], [02 Elevations, Entry, Dining].[03b Left Sidelight],
[02 Elevations, Entry, Dining].[03b Right Sidelight], [02 Elevations, Entry,
Dining].[03b Transom], [02 Elevations, Entry, Dining].[03b Window Above], [02
Elevations, Entry, Dining].[03b Arched], [02 Elevations, Entry, Dining].[03b
Twin], [02 Elevations, Entry, Dining].[03b Door Size], [02 Elevations, Entry,
Dining].Roof, [02 Elevations, Entry, Dining].[03c Shingles], [02 Elevations,
Entry, Dining].[03c Shakes], [02 Elevations, Entry, Dining].[03c Tile], [02
Elevations, Entry, Dining].[03c Cupola], [02 Elevations, Entry, Dining].[03c
Finials], [02 Elevations, Entry, Dining].[03c Notes], [02 Elevations, Entry,
Dining].[04a Brick], [02 Elevations, Entry, Dining].[04a Stone], [02
Elevations, Entry, Dining].[04a Stucco], [02 Elevations, Entry, Dining].[04a
Vinyl Siding], [02 Elevations, Entry, Dining].[04a Two Story], [02
Elevations, Entry, Dining].[04b Can See Rear Yard], [02 Elevations, Entry,
Dining].[04b Access to Staircase], [02 Elevations, Entry, Dining].[04c Wrap
Around], [02 Elevations, Entry, Dining].[04c Small], [02 Elevations, Entry,
Dining].[04c Space for Furniture], [02 Elevations, Entry, Dining].[04c
Notes], [02 Elevations, Entry, Dining].[05a Dining Table Size], [02
Elevations, Entry, Dining].[05a China Cabinet], [02 Elevations, Entry,
Dining].[05a Buffet], [02 Elevations, Entry, Dining].[05b Vault], [02
Elevations, Entry, Dining].[05b Beam], [02 Elevations, Entry, Dining].[05b
Treyed/Boxed], [02 Elevations, Entry, Dining].[05b Flat], [02 Elevations,
Entry, Dining].[05b Notes], [03 Living Spaces].[01 Name] AS [03 Living
Spaces_01 Name], [03 Living Spaces].[06a Built-in Shelving], [03 Living
Spaces].[06a Built-in Desk], [03 Living Spaces].[06a Fireplace], [03 Living
Spaces].[06b Vault], [03 Living Spaces].[06b Beam], [03 Living Spaces].[06b
Treyed/Boxed], [03 Living Spaces].[06b Flat], [03 Living Spaces].[06b Notes],
[03 Living Spaces].[07a Corner], [03 Living Spaces].[07a Gas/Log], [03 Living
Spaces].[07a Wood Burning], [03 Living Spaces].[07a Double See Through], [03
Living Spaces].[07b Flat Panel TV], [03 Living Spaces].[07b Rear Projection
TV], [03 Living Spaces].[07b TV Size], [03 Living Spaces].[07b Component
Space], [03 Living Spaces].[07c Above Fireplace], [03 Living Spaces].[07c
Entertainment Center], [03 Living Spaces].[07c Size:], [03 Living
Spaces].[07c Wall Mount], [03 Living Spaces].[07c Access to Patio], [03
Living Spaces].[07d Vault], [03 Living Spaces].[07d Beam], [03 Living
Spaces].[07d Treyed/Boxed], [03 Living Spaces].[07d Flat], [03 Living
Spaces].[07d Notes], [03 Living Spaces].[08a Corner], [03 Living Spaces].[08a
Gas/Log], [03 Living Spaces].[08a Wood Burning], [03 Living Spaces].[08a
Double See Through], [03 Living Spaces].[08b Flat Panel TV], [03 Living
Spaces].[08b Rear Projection TV], [03 Living Spaces].[08b TV Size], [03
Living Spaces].[08b Component Space], [03 Living Spaces].[08c Above
Fireplace], [03 Living Spaces].[08c Entertainment Center], [03 Living
Spaces].[08c Size:], [03 Living Spaces].[08c Wall Mount], [03 Living
Spaces].[08c Access to Patio], [03 Living Spaces].[08c Vault], [03 Living
Spaces].[08d Beam], [03 Living Spaces].[08d Treyed/Boxed], [03 Living
Spaces].[08d Flat], [03 Living Spaces].[08d Notes:], [03 Living Spaces].[09a
Corner], [03 Living Spaces].[09a Gas/Log], [03 Living Spaces].[09a Wood
Burning], [03 Living Spaces].[09a Double See Through], [03 Living
Spaces].[09b Flat Panel TV], [03 Living Spaces].[09b Rear Projection TV], [03
Living Spaces].[09b TV Size], [03 Living Spaces].[09b Component Space], [03
Living Spaces].[09c Above Fireplace], [03 Living Spaces].[09c Entertainment
Center], [03 Living Spaces].[09c Size:], [03 Living Spaces].[09c Wall Mount],
[03 Living Spaces].[09c Access to Patio], [03 Living Spaces].[09c Vault], [03
Living Spaces].[09d Beam], [03 Living Spaces].[09d Treyed/Boxed], [03 Living
Spaces].[09d Flat], [03 Living Spaces].[09d Notes:], [03 Living Spaces].[10a
Yes], [03 Living Spaces].[10a No], [03 Living Spaces].[10a How Many?], [03
Living Spaces].[10a Near Entry], [03 Living Spaces].[10b Pedestal Sink], [03
Living Spaces].[10b Cabinet Sink], [03 Living Spaces].[10b Furniture Sink],
[03 Living Spaces].[10b Notes:], [04 Kitchen - Utility].[01 Name] AS [04
Kitchen - Utility_01 Name], [04 Kitchen - Utility].[11a 36"], [04 Kitchen -
Utility].[11a 42"], [04 Kitchen - Utility].[11a 48"], [04 Kitchen -
Utility].[11a Cabinet Front], [04 Kitchen - Utility].[11a Oven/Range Combo],
[04 Kitchen - Utility].[11a Double], [04 Kitchen - Utility].[11a
Oven/Microwave Combo], [04 Kitchen - Utility].[11a Cooktop], [04 Kitchen -
Utility].[11a Size:], [04 Kitchen - Utility].[11a Custom Hood], [04 Kitchen -
Utility].[11a Description], [04 Kitchen - Utility].[11b Trash Compactor], [04
Kitchen - Utility].[11b Ice Maker], [04 Kitchen - Utility].[11b Wine Cooler],
[04 Kitchen - Utility].[11b Freezer], [04 Kitchen - Utility].[11b Chest], [04
Kitchen - Utility].[11b Standup], [04 Kitchen - Utility].[11b Extra
Refrigerator], [04 Kitchen - Utility].[11b TV], [04 Kitchen - Utility].[11c
Raised], [04 Kitchen - Utility].[11c Flush], [04 Kitchen - Utility].[11d
Walk-in Pantry], [04 Kitchen - Utility].[11d Island], [04 Kitchen -
Utility].[11d Island Sink], [04 Kitchen - Utility].[11d Ice Maker], [04
Kitchen - Utility].[11d Breakfast Area], [04 Kitchen - Utility].[11d
Appliance Garage], [04 Kitchen - Utility].[11d Spice Rack], [04 Kitchen -
Utility].[11d Lazy Susan], [04 Kitchen - Utility].[11d Hutch], [04 Kitchen -
Utility].[11d Notes:], [04 Kitchen - Utility].[12a Mini Fridge], [04 Kitchen
- Utility].[12a Sink], [04 Kitchen - Utility].[12a Trash Compactor], [04
Kitchen - Utility].[12a Wine Cooler], [04 Kitchen - Utility].[12a Glass
Dishwasher], [04 Kitchen - Utility].[12a Ice Maker], [04 Kitchen -
Utility].[12a Notes:], [04 Kitchen - Utility].[13a Bay Window], [04 Kitchen -
Utility].[13a Built-in Seating], [04 Kitchen - Utility].[13a Notes:], [04
Kitchen - Utility].[14a Front Load W/D], [04 Kitchen - Utility].[14a Ironing
Board], [04 Kitchen - Utility].[14a Sink], [04 Kitchen - Utility].[14a
Hanging Space], [04 Kitchen - Utility].[14a Wardrobe], [04 Kitchen -
Utility].[14a Closet], [04 Kitchen - Utility].[14a Folding Space], [04
Kitchen - Utility].[14a Freezer Space], [04 Kitchen - Utility].[14a Mudd
Room], [04 Kitchen - Utility].[14a Notes:], [05 Master Suite].[01 Name] AS
[05 Master Suite_01 Name], [05 Master Suite].[15a Sitting Area], [05 Master
Suite].[15a Access to Patio], [05 Master Suite].[15a First Floor], [05 Master
Suite].[15a Fireplace], [05 Master Suite].[15a Gas/Log], [05 Master
Suite].[15a TV], [05 Master Suite].[15a TV Location:], [05 Master Suite].[15a
Furniture:], [05 Master Suite].[15a Notes:], [05 Master Suite].[16a
Whirlpool], [05 Master Suite].[16a 5ft], [05 Master Suite].[16a 6ft], [05
Master Suite].[16a Oval], [05 Master Suite].[16a Rectangular], [05 Master
Suite].[16a Columns], [05 Master Suite].[16a Glass Block Window], [05 Master
Suite].[16a Picture Window], [05 Master Suite].[16b Doorless Walk-in], [05
Master Suite].[16b Frameless Glass Door], [05 Master Suite].[16b Glass], [05
Master Suite].[16b Fiberglass], [05 Master Suite].[16b Size:], [05 Master
Suite].[16b Overhead Spray], [05 Master Suite].[16b Dbl Shower Head], [05
Master Suite].[16b Body Spray], [05 Master Suite].[16b Seating], [05 Master
Suite].[16c Furniture], [05 Master Suite].[16c Cabinet], [05 Master
Suite].[16c Separate], [05 Master Suite].[16c Appliance Garage], [05 Master
Suite].[16c Knee Space], [05 Master Suite].[16d Closet], [05 Master
Suite].[16d Cabinet Style], [05 Master Suite].[16d Furniture Style], [05
Master Suite].[16d Notes:], [05 Master Suite].[17a Ironing Board], [05 Master
Suite].[17a Built-in Dresser], [05 Master Suite].[17a Mirror], [05 Master
Suite].[17a Seating], [05 Master Suite].[17a Island], [05 Master Suite].[17a
Shoe Rack], [05 Master Suite].[17b Ironing Board], [05 Master Suite].[17b
Built-in Dresser], [05 Master Suite].[17b Mirror], [05 Master Suite].[17b
Seating], [05 Master Suite].[17b Island], [05 Master Suite].[17b Shoe Rack],
[06 Other Bedrooms].[01 Name] AS [06 Other Bedrooms_01 Name], [06 Other
Bedrooms].[18a Walk-in Closet], [06 Other Bedrooms].[18a Direct Access to
Bath], [06 Other Bedrooms].[18a Jack-n-Jill], [06 Other Bedrooms].[18a First
Floor], [06 Other Bedrooms].[18a Second Floor], [06 Other Bedrooms].[18a
Built-in Desk], [06 Other Bedrooms].[19a Walk-in Closet], [06 Other
Bedrooms].[19a Direct Access to Bath], [06 Other Bedrooms].[19a Jack-n-Jill],
[06 Other Bedrooms].[19a First Floor], [06 Other Bedrooms].[19a Second
Floor], [06 Other Bedrooms].[19a Built-in Desk], [06 Other Bedrooms].[20a
Walk-in Closet], [06 Other Bedrooms].[20a Direct Access to Bath], [06 Other
Bedrooms].[20a Jack-n-Jill], [06 Other Bedrooms].[20a First Floor], [06 Other
Bedrooms].[20a Second Floor], [06 Other Bedrooms].[20a Built-in Desk], [06
Other Bedrooms].[21a Walk-in Closet], [06 Other Bedrooms].[21a Direct Access
to Bath], [06 Other Bedrooms].[21a First Floor], [06 Other Bedrooms].[21a
Second Floor], [06 Other Bedrooms].[21a Notes:], [07 Specialty Rooms].[01
Name] AS [07 Specialty Rooms_01 Name], [07 Specialty Rooms].[22a Play Room],
[07 Specialty Rooms].[22a Exercise], [07 Specialty Rooms].[22a Office], [07
Specialty Rooms].[22a General Use], [07 Specialty Rooms].[22b Bathroom Near],
[07 Specialty Rooms].[22b Storage Closet], [07 Specialty Rooms].[22b Attic
Access], [07 Specialty Rooms].[22b Window], [07 Specialty Rooms].[22b
Bathroom], [07 Specialty Rooms].[22b Notes:], [07 Specialty Rooms].[23a Flat
Panel], [07 Specialty Rooms].[23a Rear Projection TV], [07 Specialty
Rooms].[23a Projector w/ Screen], [07 Specialty Rooms].[23a Size:], [07
Specialty Rooms].[23a Component Space], [07 Specialty Rooms].[23a Number of
Seats:], [07 Specialty Rooms].[23b Sink], [07 Specialty Rooms].[23b
Refridgerator], [07 Specialty Rooms].[23b Size:], [07 Specialty Rooms].[23b
Ice Maker], [07 Specialty Rooms].[23b Powder Room], [07 Specialty Rooms].[23b
Pool Table], [07 Specialty Rooms].[23b Game/Card Table], [07 Specialty
Rooms].[23b Gaming Units], [07 Specialty Rooms].[23b Type:], [07 Specialty
Rooms].[23b Notes:], [07 Specialty Rooms].[24a Screen Size:], [07 Specialty
Rooms].[24a Number of Seats:], [07 Specialty Rooms].[24a Theatre Pantry], [07
Specialty Rooms].[24a Refrigerator], [07 Specialty Rooms].[24a Size:], [07
Specialty Rooms].[24a Notes:], [07 Specialty Rooms].[25a Flat Panel], [07
Specialty Rooms].[25a Pool Table], [07 Specialty Rooms].[25a Game/Card
Table], [07 Specialty Rooms].[25a Gaming Units], [07 Specialty Rooms].[25a
Type:], [07 Specialty Rooms].[25b Sink], [07 Specialty Rooms].[25b
Refrigerator Size:], [07 Specialty Rooms].[25b Ice Maker], [07 Specialty
Rooms].[25b Notes:], [07 Specialty Rooms].[26a Treadmill], [07 Specialty
Rooms].[26a Weight Bench], [07 Specialty Rooms].[26a Elliptical Machine], [07
Specialty Rooms].[26a Bike], [07 Specialty Rooms].[26a Other:], [07 Specialty
Rooms].[26a TV], [07 Specialty Rooms].[26a Closet], [07 Specialty Rooms].[26a
Near Master Bedroom], [07 Specialty Rooms].[26a Notes:], [07 Specialty
Rooms].[27a Guest Bed], [07 Specialty Rooms].[27a Kitchenette], [07 Specialty
Rooms].[27a Bathroom], [07 Specialty Rooms].[27a Bungalow], [07 Specialty
Rooms].[27a Notes:], [07 Specialty Rooms].[28a Walk-out], [07 Specialty
Rooms].[28a Guest Suite], [07 Specialty Rooms].[28a Activity Room], [07
Specialty Rooms].[28a Bathroom], [07 Specialty Rooms].[28a Pool Access], [07
Specialty Rooms].[28a Pool House], [08 Garage, Extra, Mechanical].[01 Name]
AS [08 Garage, Extra, Mechanical_01 Name], [08 Garage, Extra,
Mechanical].[29a Number of Bays:], [08 Garage, Extra, Mechanical].[29a Large
SUV], [08 Garage, Extra, Mechanical].[29a Quad Cab Truck], [08 Garage, Extra,
Mechanical].[29a Van], [08 Garage, Extra, Mechanical].[29a Boat], [08 Garage,
Extra, Mechanical].[29b Workshop Space], [08 Garage, Extra, Mechanical].[29b
Storage Closet], [08 Garage, Extra, Mechanical].[29b Notes:], [08 Garage,
Extra, Mechanical].[30a Large], [08 Garage, Extra, Mechanical].[30a
Fireplace], [08 Garage, Extra, Mechanical].[30a Kitchenette], [08 Garage,
Extra, Mechanical].[30a Screened It], [08 Garage, Extra, Mechanical].[30a
Water Feature], [08 Garage, Extra, Mechanical].[30a Notes:], [08 Garage,
Extra, Mechanical].[31a Safe Room], [08 Garage, Extra, Mechanical].[31a Sun
Room], [08 Garage, Extra, Mechanical].[31a Pool], [08 Garage, Extra,
Mechanical].[31a Court Yard], [08 Garage, Extra, Mechanical].[31a Hidden
Safe], [08 Garage, Extra, Mechanical].[31a Hot Tub], [08 Garage, Extra,
Mechanical].[32a Geothermal H/A], [08 Garage, Extra, Mechanical].[32a
Conventional H/A], [08 Garage, Extra, Mechanical].[32a Other:]
FROM (((((([01 General Info] INNER JOIN [03 Living Spaces] ON [01 General
Info].[01 Name] = [03 Living Spaces].[01 Name]) INNER JOIN [04 Kitchen -
Utility] ON [01 General Info].[01 Name] = [04 Kitchen - Utility].[01 Name])
INNER JOIN [05 Master Suite] ON [01 General Info].[01 Name] = [05 Master
Suite].[01 Name]) INNER JOIN [06 Other Bedrooms] ON [01 General Info].[01
Name] = [06 Other Bedrooms].[01 Name]) INNER JOIN [07 Specialty Rooms] ON [01
General Info].[01 Name] = [07 Specialty Rooms].[01 Name]) INNER JOIN [08
Garage, Extra, Mechanical] ON [01 General Info].[01 Name] = [08 Garage,
Extra, Mechanical].[01 Name]) INNER JOIN [02 Elevations, Entry, Dining] ON
[01 General Info].[01 Name] = [02 Elevations, Entry, Dining].[01 Name];



Jerry Whittle said:
Show us the SQL. Open the query in design view. Next go to View, SQL View
and copy and past it here. Information on primary keys and relationships
would be a nice touch too.
 
G

Guest

Jerry, let me give you the basic goal here. i design large custom homes and
want a db to record client information such as preferences throughout their
new house. as far as Access...all i wanted was 1 record per client with about
300 fields reflecting the preferences.

i broke the data up into 8 tables (each table a section of the house plan)
so i could have that many fields...

anyway...i'll leave you alone until i study basic db design...

thanks for your time.

Jerry Whittle said:
Where to start....

First off your database design has a lot of problems. It's not properly
normalize and will probably never work satisfactorily. I highly suggest
getting some relational database training or reading "Database Design for
Mere Mortals" by Hernandez before proceeding any further on this database.

Second when you redesign this database, do not use any special characters,
except the Underscore _ , nor spaces in any table or field names. Trust me on
this. Access allows you to do it, but it's not a good thing.

Next if this is for a business, have you checked the trade journals or other
sources for commercial software? Unless you want to learn Access and database
design, chances are something Off The Shelf is going to be both cheaper and
faster in the long run.

Now to finally answer your question, the right way to do this is to create a
form from your main table and then subforms from it on all your other tables.
Access will then properly populate the foreign key fields.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


avoidthelloyd said:
you will see i have a 'NAME' column that is the common field i want to link,
but i get an error of having a NULL value when i try to set the 01 Name field
as the primary key in each Table.

heres the SQL:

SELECT [01 General Info].[01 Name] AS [01 General Info_01 Name], [01 General
Info].[01 Date], [01 General Info].[01 Address], [01 General Info].[01 City],
[01 General Info].[01 State], [01 General Info].[01 Zip], [01 General
Info].[01 Home Phone], [01 General Info].[01 His Cell], [01 General Info].[01
Her Cell], [01 General Info].[01 Email #1], [01 General Info].[01 Email #2],
[01 General Info].[02 Budget], [01 General Info].[02 Square Footage], [01
General Info].[02 Lot Cost], [01 General Info].[02 Lot #], [01 General
Info].[02 Subdivision], [01 General Info].[02 City], [02 Elevations, Entry,
Dining].[01 Name] AS [02 Elevations, Entry, Dining_01 Name], [02 Elevations,
Entry, Dining].[03a Brick], [02 Elevations, Entry, Dining].[03a Stone], [02
Elevations, Entry, Dining].[03a Stucco], [02 Elevations, Entry, Dining].[03a
Vinyl], [02 Elevations, Entry, Dining].[03a Log Siding], [02 Elevations,
Entry, Dining].[03a Shakes], [02 Elevations, Entry, Dining].[03a Dormers],
[02 Elevations, Entry, Dining].[03a Swoops], [02 Elevations, Entry,
Dining].[03a Shutters], [02 Elevations, Entry, Dining].[03a Finials], [02
Elevations, Entry, Dining].[03a Cupolas], [02 Elevations, Entry,
Dining].[Entry Door], [02 Elevations, Entry, Dining].[03b Left Sidelight],
[02 Elevations, Entry, Dining].[03b Right Sidelight], [02 Elevations, Entry,
Dining].[03b Transom], [02 Elevations, Entry, Dining].[03b Window Above], [02
Elevations, Entry, Dining].[03b Arched], [02 Elevations, Entry, Dining].[03b
Twin], [02 Elevations, Entry, Dining].[03b Door Size], [02 Elevations, Entry,
Dining].Roof, [02 Elevations, Entry, Dining].[03c Shingles], [02 Elevations,
Entry, Dining].[03c Shakes], [02 Elevations, Entry, Dining].[03c Tile], [02
Elevations, Entry, Dining].[03c Cupola], [02 Elevations, Entry, Dining].[03c
Finials], [02 Elevations, Entry, Dining].[03c Notes], [02 Elevations, Entry,
Dining].[04a Brick], [02 Elevations, Entry, Dining].[04a Stone], [02
Elevations, Entry, Dining].[04a Stucco], [02 Elevations, Entry, Dining].[04a
Vinyl Siding], [02 Elevations, Entry, Dining].[04a Two Story], [02
Elevations, Entry, Dining].[04b Can See Rear Yard], [02 Elevations, Entry,
Dining].[04b Access to Staircase], [02 Elevations, Entry, Dining].[04c Wrap
Around], [02 Elevations, Entry, Dining].[04c Small], [02 Elevations, Entry,
Dining].[04c Space for Furniture], [02 Elevations, Entry, Dining].[04c
Notes], [02 Elevations, Entry, Dining].[05a Dining Table Size], [02
Elevations, Entry, Dining].[05a China Cabinet], [02 Elevations, Entry,
Dining].[05a Buffet], [02 Elevations, Entry, Dining].[05b Vault], [02
Elevations, Entry, Dining].[05b Beam], [02 Elevations, Entry, Dining].[05b
Treyed/Boxed], [02 Elevations, Entry, Dining].[05b Flat], [02 Elevations,
Entry, Dining].[05b Notes], [03 Living Spaces].[01 Name] AS [03 Living
Spaces_01 Name], [03 Living Spaces].[06a Built-in Shelving], [03 Living
Spaces].[06a Built-in Desk], [03 Living Spaces].[06a Fireplace], [03 Living
Spaces].[06b Vault], [03 Living Spaces].[06b Beam], [03 Living Spaces].[06b
Treyed/Boxed], [03 Living Spaces].[06b Flat], [03 Living Spaces].[06b Notes],
[03 Living Spaces].[07a Corner], [03 Living Spaces].[07a Gas/Log], [03 Living
Spaces].[07a Wood Burning], [03 Living Spaces].[07a Double See Through], [03
Living Spaces].[07b Flat Panel TV], [03 Living Spaces].[07b Rear Projection
TV], [03 Living Spaces].[07b TV Size], [03 Living Spaces].[07b Component
Space], [03 Living Spaces].[07c Above Fireplace], [03 Living Spaces].[07c
Entertainment Center], [03 Living Spaces].[07c Size:], [03 Living
Spaces].[07c Wall Mount], [03 Living Spaces].[07c Access to Patio], [03
Living Spaces].[07d Vault], [03 Living Spaces].[07d Beam], [03 Living
Spaces].[07d Treyed/Boxed], [03 Living Spaces].[07d Flat], [03 Living
Spaces].[07d Notes], [03 Living Spaces].[08a Corner], [03 Living Spaces].[08a
Gas/Log], [03 Living Spaces].[08a Wood Burning], [03 Living Spaces].[08a
Double See Through], [03 Living Spaces].[08b Flat Panel TV], [03 Living
Spaces].[08b Rear Projection TV], [03 Living Spaces].[08b TV Size], [03
Living Spaces].[08b Component Space], [03 Living Spaces].[08c Above
Fireplace], [03 Living Spaces].[08c Entertainment Center], [03 Living
Spaces].[08c Size:], [03 Living Spaces].[08c Wall Mount], [03 Living
Spaces].[08c Access to Patio], [03 Living Spaces].[08c Vault], [03 Living
Spaces].[08d Beam], [03 Living Spaces].[08d Treyed/Boxed], [03 Living
Spaces].[08d Flat], [03 Living Spaces].[08d Notes:], [03 Living Spaces].[09a
Corner], [03 Living Spaces].[09a Gas/Log], [03 Living Spaces].[09a Wood
Burning], [03 Living Spaces].[09a Double See Through], [03 Living
Spaces].[09b Flat Panel TV], [03 Living Spaces].[09b Rear Projection TV], [03
Living Spaces].[09b TV Size], [03 Living Spaces].[09b Component Space], [03
Living Spaces].[09c Above Fireplace], [03 Living Spaces].[09c Entertainment
Center], [03 Living Spaces].[09c Size:], [03 Living Spaces].[09c Wall Mount],
[03 Living Spaces].[09c Access to Patio], [03 Living Spaces].[09c Vault], [03
Living Spaces].[09d Beam], [03 Living Spaces].[09d Treyed/Boxed], [03 Living
Spaces].[09d Flat], [03 Living Spaces].[09d Notes:], [03 Living Spaces].[10a
Yes], [03 Living Spaces].[10a No], [03 Living Spaces].[10a How Many?], [03
Living Spaces].[10a Near Entry], [03 Living Spaces].[10b Pedestal Sink], [03
Living Spaces].[10b Cabinet Sink], [03 Living Spaces].[10b Furniture Sink],
[03 Living Spaces].[10b Notes:], [04 Kitchen - Utility].[01 Name] AS [04
Kitchen - Utility_01 Name], [04 Kitchen - Utility].[11a 36"], [04 Kitchen -
Utility].[11a 42"], [04 Kitchen - Utility].[11a 48"], [04 Kitchen -
Utility].[11a Cabinet Front], [04 Kitchen - Utility].[11a Oven/Range Combo],
[04 Kitchen - Utility].[11a Double], [04 Kitchen - Utility].[11a
Oven/Microwave Combo], [04 Kitchen - Utility].[11a Cooktop], [04 Kitchen -
Utility].[11a Size:], [04 Kitchen - Utility].[11a Custom Hood], [04 Kitchen -
Utility].[11a Description], [04 Kitchen - Utility].[11b Trash Compactor], [04
Kitchen - Utility].[11b Ice Maker], [04 Kitchen - Utility].[11b Wine Cooler],
[04 Kitchen - Utility].[11b Freezer], [04 Kitchen - Utility].[11b Chest], [04
Kitchen - Utility].[11b Standup], [04 Kitchen - Utility].[11b Extra
Refrigerator], [04 Kitchen - Utility].[11b TV], [04 Kitchen - Utility].[11c
Raised], [04 Kitchen - Utility].[11c Flush], [04 Kitchen - Utility].[11d
Walk-in Pantry], [04 Kitchen - Utility].[11d Island], [04 Kitchen -
Utility].[11d Island Sink], [04 Kitchen - Utility].[11d Ice Maker], [04
Kitchen - Utility].[11d Breakfast Area], [04 Kitchen - Utility].[11d
Appliance Garage], [04 Kitchen - Utility].[11d Spice Rack], [04 Kitchen -
Utility].[11d Lazy Susan], [04 Kitchen - Utility].[11d Hutch], [04 Kitchen -
Utility].[11d Notes:], [04 Kitchen - Utility].[12a Mini Fridge], [04 Kitchen
- Utility].[12a Sink], [04 Kitchen - Utility].[12a Trash Compactor], [04
Kitchen - Utility].[12a Wine Cooler], [04 Kitchen - Utility].[12a Glass
Dishwasher], [04 Kitchen - Utility].[12a Ice Maker], [04 Kitchen -
Utility].[12a Notes:], [04 Kitchen - Utility].[13a Bay Window], [04 Kitchen -
Utility].[13a Built-in Seating], [04 Kitchen - Utility].[13a Notes:], [04
Kitchen - Utility].[14a Front Load W/D], [04 Kitchen - Utility].[14a Ironing
Board], [04 Kitchen - Utility].[14a Sink], [04 Kitchen - Utility].[14a
Hanging Space], [04 Kitchen - Utility].[14a Wardrobe], [04 Kitchen -
Utility].[14a Closet], [04 Kitchen - Utility].[14a Folding Space], [04
Kitchen - Utility].[14a Freezer Space], [04 Kitchen - Utility].[14a Mudd
Room], [04 Kitchen - Utility].[14a Notes:], [05 Master Suite].[01 Name] AS
[05 Master Suite_01 Name], [05 Master Suite].[15a Sitting Area], [05 Master
Suite].[15a Access to Patio], [05 Master Suite].[15a First Floor], [05 Master
Suite].[15a Fireplace], [05 Master Suite].[15a Gas/Log], [05 Master
Suite].[15a TV], [05 Master Suite].[15a TV Location:], [05 Master Suite].[15a
Furniture:], [05 Master Suite].[15a Notes:], [05 Master Suite].[16a
Whirlpool], [05 Master Suite].[16a 5ft], [05 Master Suite].[16a 6ft], [05
Master Suite].[16a Oval], [05 Master Suite].[16a Rectangular], [05 Master
Suite].[16a Columns], [05 Master Suite].[16a Glass Block Window], [05 Master
Suite].[16a Picture Window], [05 Master Suite].[16b Doorless Walk-in], [05
Master Suite].[16b Frameless Glass Door], [05 Master Suite].[16b Glass], [05
Master Suite].[16b Fiberglass], [05 Master Suite].[16b Size:], [05 Master
Suite].[16b Overhead Spray], [05 Master Suite].[16b Dbl Shower Head], [05
Master Suite].[16b Body Spray], [05 Master Suite].[16b Seating], [05 Master
Suite].[16c Furniture], [05 Master Suite].[16c Cabinet], [05 Master
Suite].[16c Separate], [05 Master Suite].[16c Appliance Garage], [05 Master
Suite].[16c Knee Space], [05 Master Suite].[16d Closet], [05 Master
Suite].[16d Cabinet Style], [05 Master Suite].[16d Furniture Style], [05
Master Suite].[16d Notes:], [05 Master Suite].[17a Ironing Board], [05 Master
Suite].[17a Built-in Dresser], [05 Master Suite].[17a Mirror], [05 Master
Suite].[17a Seating], [05 Master Suite].[17a Island], [05 Master Suite].[17a
Shoe Rack], [05 Master Suite].[17b Ironing Board], [05 Master Suite].[17b
Built-in Dresser], [05 Master Suite].[17b Mirror], [05 Master Suite].[17b
Seating], [05 Master Suite].[17b Island], [05 Master Suite].[17b Shoe Rack],
[06 Other Bedrooms].[01 Name] AS [06 Other Bedrooms_01 Name], [06 Other
Bedrooms].[18a Walk-in Closet], [06 Other Bedrooms].[18a Direct Access to
Bath], [06 Other Bedrooms].[18a Jack-n-Jill], [06 Other Bedrooms].[18a First
Floor], [06 Other Bedrooms].[18a Second Floor], [06 Other Bedrooms].[18a
Built-in Desk], [06 Other Bedrooms].[19a Walk-in Closet], [06 Other
Bedrooms].[19a Direct Access to Bath], [06 Other Bedrooms].[19a Jack-n-Jill],
[06 Other Bedrooms].[19a First Floor], [06 Other Bedrooms].[19a Second
Floor], [06 Other Bedrooms].[19a Built-in Desk], [06 Other Bedrooms].[20a
Walk-in Closet], [06 Other Bedrooms].[20a Direct Access to Bath], [06 Other
Bedrooms].[20a Jack-n-Jill], [06 Other Bedrooms].[20a First Floor], [06 Other
Bedrooms].[20a Second Floor], [06 Other Bedrooms].[20a Built-in Desk], [06
Other Bedrooms].[21a Walk-in Closet], [06 Other Bedrooms].[21a Direct Access
to Bath], [06 Other Bedrooms].[21a First Floor], [06 Other Bedrooms].[21a
Second Floor], [06 Other Bedrooms].[21a Notes:], [07 Specialty Rooms].[01
Name] AS [07 Specialty Rooms_01 Name], [07 Specialty Rooms].[22a Play Room],
[07 Specialty Rooms].[22a Exercise], [07 Specialty Rooms].[22a Office], [07
Specialty Rooms].[22a General Use], [07 Specialty Rooms].[22b Bathroom Near],
[07 Specialty Rooms].[22b Storage Closet], [07 Specialty Rooms].[22b Attic
Access], [07 Specialty Rooms].[22b Window], [07 Specialty Rooms].[22b
Bathroom], [07 Specialty Rooms].[22b Notes:], [07 Specialty Rooms].[23a Flat
Panel], [07 Specialty Rooms].[23a Rear Projection TV], [07 Specialty
Rooms].[23a Projector w/ Screen], [07 Specialty Rooms].[23a Size:], [07
Specialty Rooms].[23a Component Space], [07 Specialty Rooms].[23a Number of
Seats:], [07 Specialty Rooms].[23b Sink], [07 Specialty Rooms].[23b
Refridgerator], [07 Specialty Rooms].[23b Size:], [07 Specialty Rooms].[23b
Ice Maker], [07 Specialty Rooms].[23b Powder Room], [07 Specialty Rooms].[23b
Pool Table], [07 Specialty Rooms].[23b Game/Card Table], [07 Specialty
Rooms].[23b Gaming Units], [07 Specialty Rooms].[23b Type:], [07 Specialty
Rooms].[23b Notes:], [07 Specialty Rooms].[24a Screen Size:], [07 Specialty
Rooms].[24a Number of Seats:], [07 Specialty Rooms].[24a Theatre Pantry], [07
Specialty Rooms].[24a Refrigerator], [07 Specialty Rooms].[24a Size:], [07
Specialty Rooms].[24a Notes:], [07 Specialty Rooms].[25a Flat Panel], [07
Specialty Rooms].[25a Pool Table], [07 Specialty Rooms].[25a Game/Card
Table], [07 Specialty Rooms].[25a Gaming Units], [07 Specialty Rooms].[25a
Type:], [07 Specialty Rooms].[25b Sink], [07 Specialty Rooms].[25b
Refrigerator Size:], [07 Specialty Rooms].[25b Ice Maker], [07 Specialty
Rooms].[25b Notes:], [07 Specialty Rooms].[26a Treadmill], [07 Specialty
Rooms].[26a Weight Bench], [07 Specialty Rooms].[26a Elliptical Machine], [07
Specialty Rooms].[26a Bike], [07 Specialty Rooms].[26a Other:], [07 Specialty
Rooms].[26a TV], [07 Specialty Rooms].[26a Closet], [07 Specialty Rooms].[26a
Near Master Bedroom], [07 Specialty Rooms].[26a Notes:], [07 Specialty
Rooms].[27a Guest Bed], [07 Specialty Rooms].[27a Kitchenette], [07 Specialty
Rooms].[27a Bathroom], [07 Specialty Rooms].[27a Bungalow], [07 Specialty
Rooms].[27a Notes:], [07 Specialty Rooms].[28a Walk-out], [07 Specialty
Rooms].[28a Guest Suite], [07 Specialty Rooms].[28a Activity Room], [07
Specialty Rooms].[28a Bathroom], [07 Specialty Rooms].[28a Pool Access], [07
Specialty Rooms].[28a Pool House], [08 Garage, Extra, Mechanical].[01 Name]
AS [08 Garage, Extra, Mechanical_01 Name], [08 Garage, Extra,
Mechanical].[29a Number of Bays:], [08 Garage, Extra, Mechanical].[29a Large
SUV], [08 Garage, Extra, Mechanical].[29a Quad Cab Truck], [08 Garage, Extra,
Mechanical].[29a Van], [08 Garage, Extra, Mechanical].[29a Boat], [08 Garage,
Extra, Mechanical].[29b Workshop Space], [08 Garage, Extra, Mechanical].[29b
Storage Closet], [08 Garage, Extra, Mechanical].[29b Notes:], [08 Garage,
Extra, Mechanical].[30a Large], [08 Garage, Extra, Mechanical].[30a
Fireplace], [08 Garage, Extra, Mechanical].[30a Kitchenette], [08 Garage,
Extra, Mechanical].[30a Screened It], [08 Garage, Extra, Mechanical].[30a
Water Feature], [08 Garage, Extra, Mechanical].[30a Notes:], [08 Garage,
Extra, Mechanical].[31a Safe Room], [08 Garage, Extra, Mechanical].[31a Sun
Room], [08 Garage, Extra, Mechanical].[31a Pool], [08 Garage, Extra,
Mechanical].[31a Court Yard], [08 Garage, Extra, Mechanical].[31a Hidden
Safe], [08 Garage, Extra, Mechanical].[31a Hot Tub], [08 Garage, Extra,
Mechanical].[32a Geothermal H/A], [08 Garage, Extra, Mechanical].[32a
Conventional H/A], [08 Garage, Extra, Mechanical].[32a Other:]
FROM (((((([01 General Info] INNER JOIN [03 Living Spaces] ON [01 General
Info].[01 Name] = [03 Living Spaces].[01 Name]) INNER JOIN [04 Kitchen -
Utility] ON [01 General Info].[01 Name] = [04 Kitchen - Utility].[01 Name])
INNER JOIN [05 Master Suite] ON [01 General Info].[01 Name] = [05 Master
Suite].[01 Name]) INNER JOIN [06 Other Bedrooms] ON [01 General Info].[01
Name] = [06 Other Bedrooms].[01 Name]) INNER JOIN [07 Specialty Rooms] ON [01
General Info].[01 Name] = [07 Specialty Rooms].[01 Name]) INNER JOIN [08
Garage, Extra, Mechanical] ON [01 General Info].[01 Name] = [08 Garage,
Extra, Mechanical].[01 Name]) INNER JOIN [02 Elevations, Entry, Dining] ON
[01 General Info].[01 Name] = [02 Elevations, Entry, Dining].[01 Name];



Jerry Whittle said:
Show us the SQL. Open the query in design view. Next go to View, SQL View
and copy and past it here. Information on primary keys and relationships
would be a nice touch too.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

:

i have 8 separate tables and dont understand why they need relationships if
they are in the same db. im told the need relationships. i add a common field
to each and attempt to relate them. i am allowed to create my query and form
then. then i try to add data with my form, i get this error.

'The changes you requested to the table were not successful because they
would create duplicate values in the index, primary key, or relationship.
(Error 3022) Change the data in the field or fields that contain duplicate
data, remove the index, or redefine the index to permit duplicate entries,
and try again. '

im stuck guys...and gals...
 

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