Rob,
Based on what I am reading sounds like your table structure got off to a
rocky start and should probably be evaluated. But let's move on... Okay
then where do the Projects come from? In previous messages you talked of
frmInvoices and frmClients. OR do the products show on frmInvoices. Is the
Main form the Projects?
Is the object of this database to track/view Projects submitted by Clients
and invoiced to Clients? See additonal comments below...
--
Gina Whipp
"I feel I have been denied critical, need to know, information!" - Tremors
II
rob c said:
Gina,
I'll give some history.
(I used ClientID when I initially asked for help because that is what was
used in the book and I wanted to understand what I needed to do and see it
work before using it on the database I am working on)
I have a table that contains information for projects. Each project has
one
record. The end users need to be able to perform various filters and see
what the subtotals are on various fields that have dollar amounts in them
and
to be able to perform various filters and see the new totals then make
changes to dollar amounts as necessary.
The endusers are not allowed to touch the actual table.
My first try was to create a query which duplicated the table that would
be
filtered and then have a second query showing only the "sums" based on the
first query This did not work because the totals did not change in the
second Query when I performed "filter by selection" on the first Query.
This should have worked but not sure how you are doing the 'filter by
slection'
I then tried to put the entire query onto a form, but I got an error
message
from Access which said that there were too many fields for the form.
Well, that depends, I get that message every blue moon and since I REALLY
need that many fields I ignore it but in your case it might be helpful to
know how many fields you were trying to put on the form.
My current attempt is to put two subforms onto a form. Both subforms are
initially populated based on the endusers login and sorted by project
number. Since each project is on both subforms once and only once, all
the
information for each project is in line on the screen.
I am not sure why you would want both subforms showing identical
information, see below.
Both subforms are based on the same table and so they have a "Project
number" that is one-to-one. My plan was both subforms would be open
anytime
the main form is open. and that when a "filter by selection" is performed
on
something like a product or a region there would be certain projects left
and
that the second subform would have those same projects.
The second subform should be linked Master/Child to the second subform which
should give you the 'filter' you want.
If there is a better or simpler method, I am open to it.
I don't know about simpler method because I'm not sure of your table
structure. If I want to filter on filtered information I sometimes use the
'double-click - open pop-up with filter information' technique. The
information can be altered and then upon closing it requeries the main form
thereby updating the totals/information/etc...