D
dan dungan
Hi,
I've gotten user and management requests to accommodate new data in a
quote system I've developed.
I imagine that I need to take historical data from the history table
and populate a quote table and a quote detail table.
Should the quote number be in both tables?
How can I make sure the quote details are related to the appropriate
quote?
I'm afraid to break what is already working, but I need to deal with
these new requests.
I would appreciate someone's feedback or suggestions.
Thanks,
Dan Dungan
Background:
Per the owner's instructions, I developed a quoting application in
Excel 2000.
I use Access 2000 to output the quote and other reports.
From Excel I create pipe delimited text file and import it to Access.
All the reports and forms are derived from one table--tblHistory.
The users want new functionality to add two different kind of comments
and another data field, customer quote reference number.
1. A comment that will apply over the whole quote
2. A comment that will apply to a specific part number.
I want to change the design to have a two tables, a quote table and a
quote detail table.
I want to append the data to the appropriate table.
At this time, all the data resides in one table with the following
fields:
id
PartNum
Quantity
UnitPrice
Delivery
RefNum
Date
Time
Customer
EAIRep
QuoteNum
QuotePrepared
QuotePreparedDate
Comments
ImportDate
ImportTime
I think I need to split the data into two tables:
tblQuote
QuoteId
QuoteNumber
Customer
QuoteComment
EAIRep
tblQuoteDetail
PartNum
Quantity
UnitPrice
Delivery
RefNum
DetailComment
ImportDate
ImportTime
CreateDate
CreateTime
I have forms for correcting a quote, adding a part number to a quote,
and deleting part numbers from quotes. I'll need to change these forms
to reflect the parent/child table i'll implement. I confused about
that, as well.
I've gotten user and management requests to accommodate new data in a
quote system I've developed.
I imagine that I need to take historical data from the history table
and populate a quote table and a quote detail table.
Should the quote number be in both tables?
How can I make sure the quote details are related to the appropriate
quote?
I'm afraid to break what is already working, but I need to deal with
these new requests.
I would appreciate someone's feedback or suggestions.
Thanks,
Dan Dungan
Background:
Per the owner's instructions, I developed a quoting application in
Excel 2000.
I use Access 2000 to output the quote and other reports.
From Excel I create pipe delimited text file and import it to Access.
All the reports and forms are derived from one table--tblHistory.
The users want new functionality to add two different kind of comments
and another data field, customer quote reference number.
1. A comment that will apply over the whole quote
2. A comment that will apply to a specific part number.
I want to change the design to have a two tables, a quote table and a
quote detail table.
I want to append the data to the appropriate table.
At this time, all the data resides in one table with the following
fields:
id
PartNum
Quantity
UnitPrice
Delivery
RefNum
Date
Time
Customer
EAIRep
QuoteNum
QuotePrepared
QuotePreparedDate
Comments
ImportDate
ImportTime
I think I need to split the data into two tables:
tblQuote
QuoteId
QuoteNumber
Customer
QuoteComment
EAIRep
tblQuoteDetail
PartNum
Quantity
UnitPrice
Delivery
RefNum
DetailComment
ImportDate
ImportTime
CreateDate
CreateTime
I have forms for correcting a quote, adding a part number to a quote,
and deleting part numbers from quotes. I'll need to change these forms
to reflect the parent/child table i'll implement. I confused about
that, as well.