I have a table of estimate records (and related calculated fields on a form) and and need to add that record to a quote record, That's the easy part!, I need to be able to edit some of the quote records fields (price and sometimes description) with-out changing the related record in estimates. Also, I need to be able to add a record to the quote table without using the related estimates table (on the fly record)
I can't seem to get my head wrapped around where to start in creating the quote table
Thanks in advance
The way I imagine accomplishing what you are talking about is something like this.
You will have a table for the description of the project. At a minimum it will require a record ID that uniquely identifies the record so that you can link records in other tables to it. The record ID should not be used for any other purpose but it can be an auto-number and the primary key.
You may have another table that stores the client information or the client information may be stored with the estimate. This depends on if you want the ability to have repeat clients without having to enter client information more than once.
There will be another table that holds the selection of cabinets that the client wants (could hold other data like the counter tops and other hardware). Each cabinet, part or assembly being a different record.
Create a main form where you enter the main details about the estimate. The main details would include a description of the project, possibly the estimated start and completion dates, the actual completion dates, the record creation date and who created the record. Add other fields as you see fit.
In a sub form show the list of selected items (cabinets, assemblies and other hardware). The way I typically do this is to create a list box control that displays the basic information about each item. Beside the list box is a set of buttons for adding, editing and deleting items. All of the data entry is performed in a detail form that opens for adding and editing the item details. Item details would be the item and hours and possibly other information about how the item is used or where it will be installed.
With this configuration you would create the estimate record and only change it from time to time. The rest of the details would be held in a child table. You would enter the details for the estimate there. That table would contain the details for the quote. Summing up values from that table could then be displayed in the main form as the total for the quote and on reports for the same purpose.
This configuration would also set you up to be able to create multiple quotes for the same estimate. To do that you would create an additional, junction table that goes between the estimate and the details. There would be one junction table record that has its own ID, a description of the quote and the ID of the main estimate record. The detail records would then link to this table. Each set of detail records would link to a different quote (junction) table record. You could use a combo box control in the main form to select the quote you want to work on and pass that record's ID into each new detail record.
Hope that makes sense.