Good evening there!
My question may not sound simple. I've been thinking this situation I'm having with my prog all day long. Well, anyway, let's get onto it.
First, this is how program should function:
"User types two dates to a form"
- A query receives to dates, and determines the right records to show.
"User selects a product for the main records from another form"
- Another query receives the product, and now it knows what product to show to user.
*BLING! A report opens up.
"User brows(watches) data and prints if its correct(should be)"
Let's have a look at now at the report starting point:
This kinda query I have right now:
This is how it looks out. It is just a basic query, not even hand-made one. Just used wizards.
Maybe no matter how it is made up, but how it works. Looong thinking. You see there those dual things, screw doubled, saw doubled, and hammer so called "doubled" as well.
And because this date thing, FixingDay, is over there, it works as a "little" identifier, right?(It doesnt really calculate the values as those Numbers, am I correct?)
Now, my purpose would be to create a report from this information. Problems occurs in the output. I have one big report, that contains several subreports. Now I'd like to see that information at the one of these subreports like this:
I haven't had no luck or skill to create the view like the above one. This one I'd like to put a report. It would be created from the first code block(1. query outlook example).
The problem here is that FixinDay, that is now missing at this one above, but with a purpose.
I use that FixinDay as a Child Link from this small report to the bigger report of mine.
And THIS one may be the problem. You see, I'm trying to calculate values, as above, at my small report, and at the same time, smaller one is connected to bigger one using that FixinDay.
It is essential, because user sorts the information by typing dates on a form(maybe that's already another story).
Now I'm having a subreport, that shows the information like this:
And now to the question that has keep my day so busy today: "How can I calculate the values at a report or query like I demonstrated above?"
Products have different values, and it depends on what kind of interval user typed at the first screen(user types dates to a form, selects product, clicks, report opens).
I hope someone gets even a minor clear of what I'm trying to implement.
This is all about calculating when still using Dates at the same query. And I'm thinking I'm unable to use Max or Min -values either, because I need(probably?) all the date data.
By the way, If you got my point, do you think this is possible at all?
Every answer and comment to this thread is extremely highly appreciated!
Greetings from 020050
My question may not sound simple. I've been thinking this situation I'm having with my prog all day long. Well, anyway, let's get onto it.
First, this is how program should function:
"User types two dates to a form"
- A query receives to dates, and determines the right records to show.
"User selects a product for the main records from another form"
- Another query receives the product, and now it knows what product to show to user.
*BLING! A report opens up.
"User brows(watches) data and prints if its correct(should be)"
Let's have a look at now at the report starting point:
This kinda query I have right now:
Code:
SparePart NumberOfSpareParts FixingDay Product
Screw 500 1.9.2004 Table
Hammer 12 2.9.2004 Chair
Saw 3 3.9.2004 Shelf
Hammer 15 4.9.2004 Chair
Saw 4 5.9.2004 Shelf
Screw 350 6.9.2004 Table
This is how it looks out. It is just a basic query, not even hand-made one. Just used wizards.
Maybe no matter how it is made up, but how it works. Looong thinking. You see there those dual things, screw doubled, saw doubled, and hammer so called "doubled" as well.
And because this date thing, FixingDay, is over there, it works as a "little" identifier, right?(It doesnt really calculate the values as those Numbers, am I correct?)
Now, my purpose would be to create a report from this information. Problems occurs in the output. I have one big report, that contains several subreports. Now I'd like to see that information at the one of these subreports like this:
Code:
SparePart NumberOfSpareParts Product
Screw 850 Table
Hammer 27 Chair
Saw 7 Shelf
I haven't had no luck or skill to create the view like the above one. This one I'd like to put a report. It would be created from the first code block(1. query outlook example).
The problem here is that FixinDay, that is now missing at this one above, but with a purpose.
I use that FixinDay as a Child Link from this small report to the bigger report of mine.
And THIS one may be the problem. You see, I'm trying to calculate values, as above, at my small report, and at the same time, smaller one is connected to bigger one using that FixinDay.
It is essential, because user sorts the information by typing dates on a form(maybe that's already another story).
Now I'm having a subreport, that shows the information like this:
Code:
SparePart NumberOfSpareParts Product
Screw 500 Table
Hammer 12 Chair
Saw 3 Shelf
Hammer 15 Chair
Saw 4 Shelf
Screw 350 Table
And now to the question that has keep my day so busy today: "How can I calculate the values at a report or query like I demonstrated above?"
Products have different values, and it depends on what kind of interval user typed at the first screen(user types dates to a form, selects product, clicks, report opens).
I hope someone gets even a minor clear of what I'm trying to implement.
This is all about calculating when still using Dates at the same query. And I'm thinking I'm unable to use Max or Min -values either, because I need(probably?) all the date data.
By the way, If you got my point, do you think this is possible at all?
Every answer and comment to this thread is extremely highly appreciated!
Greetings from 020050