Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code in report
Message
 
 
To
17/02/2008 09:25:20
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01293004
Message ID:
01293234
Views:
24
>Hi Naomi...
>
>I have a similar problem. I have a table with multiple records containing biomatrics signature data in each record. At the printing time I execute the following code:
>
<snip>

>to create a bitmap such as (signature.bmp) and then I place an ole object on the report to show the signature. It works fine at the command level. Where can I place the code, so it executes for each record during the print of report.
>
>Any help is appreciated.
>
>Thank You in advance
>
>Raza Malik

Hi Raza,

Just an idea, no guarantee it would work - I never had the same requirement as you do. Put a field before the ole object (at the top in the detail band) with the function CreateSig(). The CreateSig function would be essentially your code and would return nothing. The only difference that I suggest is to make your object created in the calling program, so the CreateSig function would only execute necessary code and not re-create the object each time.

Unfortunately, as I said, this idea may not work, but worth a quick try.

If not, we need to invent a better and probably more complex solution.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform