Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting a custom picture
Message
From
30/04/2003 11:13:22
 
 
To
28/04/2003 04:41:29
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00780504
Message ID:
00783191
Views:
10
In case anyone comes across a similar problem, I've found a solution.

As I'd discovered, the only way to insert a custom graphic into CR9 with VFP was using the General field in VFP, and linking via ODBC.

The next problem was that adding this table to the report in Crystal caused serious memory problems as (I presume) it tried to link this table with every record in the main table (even though the logo was just going in the page header).

The solution to this is to create a subreport in the page header, and have your logo table opened only in this - then no linking goes on.

If you want to be able to programatically resize the images, then the easiest way to get the size in twips (which Crystal requires) is to use the VFP LOADPICTURE method and call the resulting .Width and .Height properties.

In all its been a very long winded upgrade from v8.5 to v9 of what are not particularly complicated reports!

Ben
Previous
Reply
Map
View

Click here to load this message in the networking platform