Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print series of images on labels in VFP6

Status
Not open for further replies.

GriffMG

Programmer
Mar 4, 2002
6,333
FR
I may have come to an upgrade trigger for one of my venerable VFP6 applications.

I have a photo register in it, and yesterday a user demanded a report with a series of the photos - 9 or more to a page. I couldn't find a way do it in VFP6, but in VFP9 you can base an image in a label on an expression which is evaluated at run time.

Is there a way around this in VFP6? The photos are not stored directly in a table (i.e. no general fields) they are referenced by a number, from which you can derive a folder.

TIA

Martin

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.
 
Hi Dave

The picture is not held in a general field it's sitting outside the database - all that is in the table is a photo number, and from that the application can add a local prefix (to allow for different drive mappings) and a specific folder (based on the photo number (keeping no more than 1000 photos in a single folder).

In VFP6 all you have are field names and filenames, no expression to derive a filename from (which is available in VFP9) for image controls on reports/labels.

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top