From: PHisaw on
Please forgive the repost - I've added additonal information and the original
seems to have been forgotten. I don't think the subject was clear anyway.

I have a main quote form with subforms for labor, parts and misc parts all
tied to a job number with several calculations on the main form from each of
the subforms. This works great as it is. Now users tell me they need to
have ability to create optional quotes for same job number. Is it possible
to have an option group on the form so that the first main default quote
would be option 1 and then if user needs to create another quote for the same
job number (job number is autonumber and primary from tgeninfo table) they
can press "Option 2" button and use the same (now cleared) form?

I've included a field "option" on the table "tmainquote" and also the same
field on the subforms, but I can't get the correct relation. I also cannot
get the form to clear as needed.

This is the general idea of what I want to do, but I'm not sure how to go
about doing it, if its even possible? I'm trying not to have three sets of
forms and subforms for a quote with two alternative quotes for same job. If
anyone has suggestions to make it work, I would love to hear them.

Thanks,
Pam

From: John W. Vinson on
On Fri, 30 Apr 2010 12:17:01 -0700, PHisaw <PHisaw(a)discussions.microsoft.com>
wrote:

>Please forgive the repost - I've added additonal information and the original
>seems to have been forgotten. I don't think the subject was clear anyway.
>
>I have a main quote form with subforms for labor, parts and misc parts all
>tied to a job number with several calculations on the main form from each of
>the subforms. This works great as it is. Now users tell me they need to
>have ability to create optional quotes for same job number. Is it possible
>to have an option group on the form so that the first main default quote
>would be option 1 and then if user needs to create another quote for the same
>job number (job number is autonumber and primary from tgeninfo table) they
>can press "Option 2" button and use the same (now cleared) form?
>
>I've included a field "option" on the table "tmainquote" and also the same
>field on the subforms, but I can't get the correct relation. I also cannot
>get the form to clear as needed.
>
>This is the general idea of what I want to do, but I'm not sure how to go
>about doing it, if its even possible? I'm trying not to have three sets of
>forms and subforms for a quote with two alternative quotes for same job. If
>anyone has suggestions to make it work, I would love to hear them.
>
>Thanks,
>Pam

It sounds like you need a one to many relationship from the master table of
Jobs to a table of Quotes. You could have a Form based on jobs, with a Subform
based on quotes. I don't understand the issue of "main quotes" and "optional
quotes" - surely if you get a really good quote second and a ho-hum quote
first, the second would be preferable.

Don't get too hung up on the form design until you have the tables right!
--

John W. Vinson [MVP]