Re: Printing labels?
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Fri, 7 Sep 2007 08:35:48 -0700
If your report is printing all of the addresses for the currently selected
person, you have the child alias selected. It sounds like the report is
running through the entire child parameterized view.
Add NEXT 1 to the REPORT FORM command. That only prints the current record.
You can certainly hard-code SET PRINTER TO (name of printer), although what
happens when the user changes the name of the printer?
Dan
Linn Kubler wrote:
Hi All,
I am trying to put together a simple label printing program but, of
course, am having a small problem(s). I have my data setup following
a previous post on relating views. I have a view with names and I
use the selected name to then query another view for addresses. Each
name may have more than one address.
In the second view I select the address I am interested in and have
defined a report with the layout that I want. Problem is that if I
print someone with more than one address all their addresses are
printed, not just the address I selected. Anyone know of any
examples of how to do this? Or a better approach I should be taking?
I thought about using scatter to an object but then I didn't know how
to reference that object in the report designer. I'm thinking it is
a scoping issue, I don't quite know how to make the scattered object
global.
To print the labels we have a fancy thermal label printer with 4" x 5"
labels. I've only been using the print preview so I don't know if it
will work for sure or not. With that in mind, is there anyway to
hard code the printer so that the user doesn't have to select it each
time?
Also, we want to print only one label at a time, not a set of
records, just the person and address combination the user selects.
Hope all this makes sense and that someone can offer some
suggestions. I'm using VFP 9.0sp1 btw.
Thanks in advance,
Linn
.
- Follow-Ups:
- Re: Printing labels?
- From: Linn Kubler
- Re: Printing labels?
- References:
- Printing labels?
- From: Linn Kubler
- Printing labels?
- Prev by Date: Re: odbc, foxplus and office desktops apps
- Next by Date: Re: PDFSplitMerge - wierd !
- Previous by thread: Re: Printing labels?
- Next by thread: Re: Printing labels?
- Index(es):
Relevant Pages
|