472,363 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,363 software developers and data experts.

Need Help With Groups and Stored Drawings

Hello everyone,

I'm having a problem with Access that I need some help with. The short
version is, I want to print a list of parts and part quantities that belong
to a certain part group---One list per page. I created a report that groups
the parts by part classification group with a force new page after each
group. The report is based on a query of that week's orders. Some of these
parts have drawings (usually 2 each stored in an OLE link field) that need
to be included in the report. I want to print the needed drawings on
separate pages after each group of parts. I'm confused (about many things)
on how to set something like this up-especially printing multiple pages
after a group. I'm used to having a corresponding field for each record.
There might be 10 parts in the group, but only 2 might need drawings-maybe
none. I don't want to have a bunch of blank pages after each group. I'm
not having any luck printing out the drawings. I posted a more detailed
explanation below. Is it possible to do something like this, or would I
have to do separate reports for each group? I would really appreciate some
help.

Thanks,

Chad
Long Version:
--------------------------------

I have a report that shows all the parts used in the previous week. It looks
something like this:

------------------------------------
Part Group AAA

Part Number QTY
------------ -----
Part 1 23
Part 2 35
Part 3 48
Part 4 16
------------------------------------

(****New Page*****)
Part Group BBB

Part Number QTY
------------ -----
Part 5 23
Part 6 35
Part 7 48
Part 8 16

-------------------------------------

As you can see, I have the parts grouped in the report by Part Group they
belong to. I have each group on a separate page with group page breaks.

I have a table that contains the part number, its part group classification,
and an OLE Field that contains a link to an Excel spreadsheet which contains
a drawing file. I want to link the part numbers that show up in the report
query to the needed drawing in the table.

Part Description Table
------------------------------------------
Part Number-----Part Group----Drawing

My situation is, I would like to include drawings for certain parts after
each group. What I want to do is print a page for each group followed by the
needed drawings-one on each page:
Page 1
------------------------------------
Part Group AAA

Part Number QTY
------------ -----
Part 1 23
Part 2 35
Part 3 48
Part 4 16
------------------------------------

Page 2
------------------------------------
Part 1 Drawing #1

Page 3
------------------------------------
Part 1 Drawing #2

Page 4
------------------------------------
Part 3 Drawing #1

Page 5
------------------------------------
Part 3 Drawing #2

Page 6
------------------------------------
Part Group BBB

Part Number QTY
------------ -----
Part 5 23
Part 6 35
Part 7 48
Part 8 16.
..
..
..
and so on...
Nov 13 '05 #1
7 1759
..
..
I'm used to having a corresponding field for each record.
There might be 10 parts in the group, but only 2 might need
drawings-maybe
none. I don't want to have a bunch of blank pages after each group.
..
..

How do you determine which part group needs a drawing and how many
drawings to assign to a part group? Is there one drawing per part,
several, or does one drawing serve several parts?

Johnny

Nov 13 '05 #2
On 1 Jun 2005 16:49:34 -0700, "Johnny Meredith" <jm*******@gmail.com>
wrote:

Get back to us after the cocaine wears off.
-Tom.
.
.
I'm used to having a corresponding field for each record.
There might be 10 parts in the group, but only 2 might need
drawings-maybe
none. I don't want to have a bunch of blank pages after each group.
.
.

How do you determine which part group needs a drawing and how many
drawings to assign to a part group? Is there one drawing per part,
several, or does one drawing serve several parts?

Johnny


Nov 13 '05 #3


Thanks for responding. I have a part description table which has a list of
all the parts. Two of the fields are OLE fields containing a links to the
drawings. There are usually 2 drawings per part. Some of these fields are
blank because those parts do not need drawings. The drawings are usually
unique to the part number. There is one drawing that covers more than one
part, but that is very rare and I can print out an extra copy of the
drawing. That's not a big deal. As for how to determine what groups needs
what drawings, I guess it is the part number in the group since that is how
I have them in my table. Figuring out how to associate these parts with
drawings and print only the needed drawings after the group is what is
confusing me.

Chad

"Johnny Meredith" <jm*******@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
.
.
I'm used to having a corresponding field for each record.
There might be 10 parts in the group, but only 2 might need
drawings-maybe
none. I don't want to have a bunch of blank pages after each group.
.
.

How do you determine which part group needs a drawing and how many
drawings to assign to a part group? Is there one drawing per part,
several, or does one drawing serve several parts?

Johnny

Nov 13 '05 #4
ChadDiesel wrote:
Thanks for responding. I have a part description table which has a list of
all the parts. Two of the fields are OLE fields containing a links to the
drawings. There are usually 2 drawings per part. Some of these fields are
blank because those parts do not need drawings. The drawings are usually
unique to the part number. There is one drawing that covers more than one
part, but that is very rare and I can print out an extra copy of the
drawing. That's not a big deal. As for how to determine what groups needs
what drawings, I guess it is the part number in the group since that is how
I have them in my table. Figuring out how to associate these parts with
drawings and print only the needed drawings after the group is what is
confusing me.

Chad

"Johnny Meredith" <jm*******@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
.
.
I'm used to having a corresponding field for each record.
There might be 10 parts in the group, but only 2 might need
drawings-maybe
none. I don't want to have a bunch of blank pages after each group.
.
.

How do you determine which part group needs a drawing and how many
drawings to assign to a part group? Is there one drawing per part,
several, or does one drawing serve several parts?

Johnny


You have a grouping called PartGroup. I might contemplate something
like this....

First, create a GroupFooter for PartGroup.

Next, create another report that will display the pictures. You would
sort by PartGroup, PartNo by selecting Sorting/Grouping from the menu
bar under the View option.

Now open up your first report. From the toolbox, select the SubReport
icon and drop that into the GroupFooter for PartGroup. Set the proper
links between the main/sub report (the link would be PartGroup).

You may have to futz with the page breaks. Dbl-click on the GroupFooter
band to pull up the property sheet. Under the Format tab there is a
ForceNewPage setting. Set as necessary.
Nov 13 '05 #5
Hello,

Thanks for responding. I tried what you said and got the report/subreport
link set up, but I can't for the life of me figure out how to do the page
breaks on the subreport. I put the subreport after a page break in the
group footer, and I get the list of parts and the drawing/blank space for
the first part of the list on the next page. The subreport page break
doesn't work--I mean I'm sure it works, but I obviously am not doing it
right. Thanks for pointing me in the right direction. Your help is
appreciated.

Thanks,

Chad
"Salad" <oi*@vinegar.com> wrote in message
news:GH*****************@newsread1.news.pas.earthl ink.net...
ChadDiesel wrote:
Thanks for responding. I have a part description table which has a list
of all the parts. Two of the fields are OLE fields containing a links to
the drawings. There are usually 2 drawings per part. Some of these
fields are blank because those parts do not need drawings. The drawings
are usually unique to the part number. There is one drawing that covers
more than one part, but that is very rare and I can print out an extra
copy of the drawing. That's not a big deal. As for how to determine
what groups needs what drawings, I guess it is the part number in the
group since that is how I have them in my table. Figuring out how to
associate these parts with drawings and print only the needed drawings
after the group is what is confusing me.

Chad

"Johnny Meredith" <jm*******@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
.
.
I'm used to having a corresponding field for each record.
There might be 10 parts in the group, but only 2 might need
drawings-maybe
none. I don't want to have a bunch of blank pages after each group.
.
.

How do you determine which part group needs a drawing and how many
drawings to assign to a part group? Is there one drawing per part,
several, or does one drawing serve several parts?

Johnny


You have a grouping called PartGroup. I might contemplate something like
this....

First, create a GroupFooter for PartGroup.

Next, create another report that will display the pictures. You would
sort by PartGroup, PartNo by selecting Sorting/Grouping from the menu bar
under the View option.

Now open up your first report. From the toolbox, select the SubReport
icon and drop that into the GroupFooter for PartGroup. Set the proper
links between the main/sub report (the link would be PartGroup).

You may have to futz with the page breaks. Dbl-click on the GroupFooter
band to pull up the property sheet. Under the Format tab there is a
ForceNewPage setting. Set as necessary.

Nov 13 '05 #6
ChadDiesel wrote:
Hello,

Thanks for responding. I tried what you said and got the report/subreport
link set up, but I can't for the life of me figure out how to do the page
breaks on the subreport. I put the subreport after a page break in the
group footer, and I get the list of parts and the drawing/blank space for
the first part of the list on the next page. The subreport page break
doesn't work--I mean I'm sure it works, but I obviously am not doing it
right. Thanks for pointing me in the right direction. Your help is
appreciated.

Thanks,

Chad
"Salad" <oi*@vinegar.com> wrote in message
news:GH*****************@newsread1.news.pas.earthl ink.net...
ChadDiesel wrote:

Thanks for responding. I have a part description table which has a list
of all the parts. Two of the fields are OLE fields containing a links to
the drawings. There are usually 2 drawings per part. Some of these
fields are blank because those parts do not need drawings. The drawings
are usually unique to the part number. There is one drawing that covers
more than one part, but that is very rare and I can print out an extra
copy of the drawing. That's not a big deal. As for how to determine
what groups needs what drawings, I guess it is the part number in the
group since that is how I have them in my table. Figuring out how to
associate these parts with drawings and print only the needed drawings
after the group is what is confusing me.

Chad

"Johnny Meredith" <jm*******@gmail.com> wrote in message
news:11*********************@g14g2000cwa.google groups.com...
.
.
I'm used to having a corresponding field for each record.
There might be 10 parts in the group, but only 2 might need
drawings-maybe
none. I don't want to have a bunch of blank pages after each group.
.
.

How do you determine which part group needs a drawing and how many
drawings to assign to a part group? Is there one drawing per part,
several, or does one drawing serve several parts?

Johnny


You have a grouping called PartGroup. I might contemplate something like
this....

First, create a GroupFooter for PartGroup.

Next, create another report that will display the pictures. You would
sort by PartGroup, PartNo by selecting Sorting/Grouping from the menu bar
under the View option.

Now open up your first report. From the toolbox, select the SubReport
icon and drop that into the GroupFooter for PartGroup. Set the proper
links between the main/sub report (the link would be PartGroup).

You may have to futz with the page breaks. Dbl-click on the GroupFooter
band to pull up the property sheet. Under the Format tab there is a
ForceNewPage setting. Set as necessary.


Bummer. I know I got you pointed in the right direction but I know that
there are some differences between a "report" and a "sub-report".

My next suggestion is to see if a similar problem has been answered
elsewhere. Go to http://groups.google.com. Click on advanced search.
In the Words To Search, enter something like "Subreport pagebreaks" and
in the groups textbox enter "*Access*" (remove quotes in my search
criteria) and then search. Maybe somebody from the past has a solution.

You may have to move things up if you find no answer. For example,
create a subreport to print the detail lines and put that in a header
group (don't know if that will work) and then put the pictures in the
detail line.

I know you need to futz with this. I'm sure it can be done. It might
require a lot of experimentation.

Nov 13 '05 #7
Moving up the reports worked great! I'm really close. My only problem now
is that I get a bunch of blank pages where part numbers do not have
pictures. I don't know how to filter out the blank pages. If I do, I don't
get all the part numbers-just the ones that have pictures. I guess this is
because the pictures are on the main report. I just can't get it to work the
other way. Thanks for the information. You have been a great deal of help.

Chad
"Salad" <oi*@vinegar.com> wrote in message
news:BC*****************@newsread2.news.pas.earthl ink.net...
ChadDiesel wrote:
Hello,

Thanks for responding. I tried what you said and got the
report/subreport link set up, but I can't for the life of me figure out
how to do the page breaks on the subreport. I put the subreport after a
page break in the group footer, and I get the list of parts and the
drawing/blank space for the first part of the list on the next page. The
subreport page break doesn't work--I mean I'm sure it works, but I
obviously am not doing it right. Thanks for pointing me in the right
direction. Your help is appreciated.

Thanks,

Chad
"Salad" <oi*@vinegar.com> wrote in message
news:GH*****************@newsread1.news.pas.earthl ink.net...
ChadDiesel wrote:
Thanks for responding. I have a part description table which has a list
of all the parts. Two of the fields are OLE fields containing a links
to the drawings. There are usually 2 drawings per part. Some of these
fields are blank because those parts do not need drawings. The drawings
are usually unique to the part number. There is one drawing that covers
more than one part, but that is very rare and I can print out an extra
copy of the drawing. That's not a big deal. As for how to determine
what groups needs what drawings, I guess it is the part number in the
group since that is how I have them in my table. Figuring out how to
associate these parts with drawings and print only the needed drawings
after the group is what is confusing me.

Chad

"Johnny Meredith" <jm*******@gmail.com> wrote in message
news:11*********************@g14g2000cwa.googl egroups.com...
>.
>.
>I'm used to having a corresponding field for each record.
>There might be 10 parts in the group, but only 2 might need
>drawings-maybe
>none. I don't want to have a bunch of blank pages after each group.
>.
>.
>
>How do you determine which part group needs a drawing and how many
>drawings to assign to a part group? Is there one drawing per part,
>several, or does one drawing serve several parts?
>
>Johnny
>

You have a grouping called PartGroup. I might contemplate something like
this....

First, create a GroupFooter for PartGroup.

Next, create another report that will display the pictures. You would
sort by PartGroup, PartNo by selecting Sorting/Grouping from the menu bar
under the View option.

Now open up your first report. From the toolbox, select the SubReport
icon and drop that into the GroupFooter for PartGroup. Set the proper
links between the main/sub report (the link would be PartGroup).

You may have to futz with the page breaks. Dbl-click on the GroupFooter
band to pull up the property sheet. Under the Format tab there is a
ForceNewPage setting. Set as necessary.


Bummer. I know I got you pointed in the right direction but I know that
there are some differences between a "report" and a "sub-report".

My next suggestion is to see if a similar problem has been answered
elsewhere. Go to http://groups.google.com. Click on advanced search. In
the Words To Search, enter something like "Subreport pagebreaks" and in
the groups textbox enter "*Access*" (remove quotes in my search criteria)
and then search. Maybe somebody from the past has a solution.

You may have to move things up if you find no answer. For example, create
a subreport to print the detail lines and put that in a header group
(don't know if that will work) and then put the pictures in the detail
line.

I know you need to futz with this. I'm sure it can be done. It might
require a lot of experimentation.

Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: PHPkemon | last post by:
Hello, I'm fairly new to PHP and MySQL but know the basics to create a dynamic page. To get to know PHP and MySQL a little better I want to create a simple webshop. (yeah why start small, right...
1
by: F. GEIGER | last post by:
Hi all, I'm dev'ing a control app, that has as a part of it a window showing CAD-drawings. So I'd like to display drawings coming from DXF files. In the first place I'd start displaying...
1
by: Jack | last post by:
Hi, I am working on a asp page where I am opening a recordset object using an Access stored query named "GMISExpenseCombo". I have to use this resultset with various fields in the page. Howeve,r...
7
by: Christian Christmann | last post by:
Hi, in the past I always appreciated your help and hope that you also can help me this time. I've spent many many hours but still can't solve the problem by myself and you are my last hope. ...
2
by: David Muoio | last post by:
I am trying to validate an XML file against an XSD that is stored in the assembly as an embedded resource. I can get it to work as long as the XSD does not include other XSDs. After a fair amount...
4
by: Magy | last post by:
What would be the best way to execute a Oracle stored procedure that excepts several input paramters, through a web method in vb.net. What would be a good way to get to the web method, the Oracle...
1
by: Ashley Bryant | last post by:
I have a web application built in ASP 3.0 that uses data from SQL Server 2000 to generate Visio 2002 drawings, save the drawings to a file on the webserver and then send that file to the browser. ...
4
by: David | last post by:
Hi, I have taken some SQL from MS Access and got it working. I have since updated the SQL in Access but cannot get the additional part working in ASP. The working SQL I have in asp is:- ...
1
by: Michael | last post by:
Hi. I am working with classic ASP. I'd like to transfer al my hard coded sql queries to access stored queries and use them with parameters. Actually, I did not find any strong information how to do...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
0
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.