M
Mike Monville
Art Gallery Database:
I have built the following:
Member table storing member data: MemberId (autonumber), FirstName,
LastName, address, media, commissions?, membership type, etc.
Inventory table storing data on artwork in the database: ArtId (autonumber),
MemberId, TagNo, Title, Medium, Price, date in system, ShowId, etc.
Show table storing data on individual shows: ShowId (autonumber), ShowName,
StartDate, EndDate, Commission, EntryFee, Juried?, etc.
Sales table storing data related to sales: SaleId (autonumber), SaleDate,
BuyerName, BuyerAddress, etc.
The Member table and Inventory table are related through the MemberId field
and work fine.
Here are my dilemmas:
I want to be able to keep a given piece of art in the inventory table until
it is sold because many times art will be re-entered in another show and it
will not have to be re-entered in the database if it stays in the inventory
table. I built a "select" bit in the inventory table to control whether
that particular work is in a show or not. In order to keep the work in the
database forever, the ArtId (an autonumber field) will keep growing and this
reference number which will also be posted on the artwork by way of a tag,
will eventually become too large to be manageable. Is there a better way to
handle this or maybe starting over with the autonumber field down the line
may not be the nightmare that I envision.
I can't seem to get the sales table to relate to the inventory. I would
like to be able to design a sales form that would have a subform that would
list each item (ArtId) purchased and perform tax calculations, artist and
commission proceeds, etc. on each item as well as totals for the sale. I
built a salesdetail table to join the inventory and sales tables but when I
create a form and try to use it, it tells me "Cannot add record(s); join key
of table 'inventory' is not in the recordset". I don't understand the
message.
I have not yet made a relationship between the shows table and the inventory
table
This is my first experience with database design so I can use any advice you
can give me.
Thanks - Mike
I have built the following:
Member table storing member data: MemberId (autonumber), FirstName,
LastName, address, media, commissions?, membership type, etc.
Inventory table storing data on artwork in the database: ArtId (autonumber),
MemberId, TagNo, Title, Medium, Price, date in system, ShowId, etc.
Show table storing data on individual shows: ShowId (autonumber), ShowName,
StartDate, EndDate, Commission, EntryFee, Juried?, etc.
Sales table storing data related to sales: SaleId (autonumber), SaleDate,
BuyerName, BuyerAddress, etc.
The Member table and Inventory table are related through the MemberId field
and work fine.
Here are my dilemmas:
I want to be able to keep a given piece of art in the inventory table until
it is sold because many times art will be re-entered in another show and it
will not have to be re-entered in the database if it stays in the inventory
table. I built a "select" bit in the inventory table to control whether
that particular work is in a show or not. In order to keep the work in the
database forever, the ArtId (an autonumber field) will keep growing and this
reference number which will also be posted on the artwork by way of a tag,
will eventually become too large to be manageable. Is there a better way to
handle this or maybe starting over with the autonumber field down the line
may not be the nightmare that I envision.
I can't seem to get the sales table to relate to the inventory. I would
like to be able to design a sales form that would have a subform that would
list each item (ArtId) purchased and perform tax calculations, artist and
commission proceeds, etc. on each item as well as totals for the sale. I
built a salesdetail table to join the inventory and sales tables but when I
create a form and try to use it, it tells me "Cannot add record(s); join key
of table 'inventory' is not in the recordset". I don't understand the
message.
I have not yet made a relationship between the shows table and the inventory
table
This is my first experience with database design so I can use any advice you
can give me.
Thanks - Mike