Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call function for each page.
Message
From
27/11/2008 09:23:35
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
 
 
To
27/11/2008 09:16:12
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01364375
Message ID:
01364376
Views:
16
If you have a field already placed in the the page header, instead of assigning a variable to the expression value, try:

=f_fetch_barcode("Myparameter")

with or without the 'equals' character.

Guy



>Hello Everybody
>
>I have a VFP 9 SP 2 report based on a cursor mydata
>mydata has a column textline (c254) + other information
>I print mydata.textline with some other informations in the detail band.
>I set: stretch with overflow
>Everthing works as expected.
>Get get 1 to n pages. Depending on the actual data in textline the detail band expands from 1 to 8 lines.
>
>Now i want to print a barcode for each page in the page header band.
>
>I have to call a function that returns a unique barcode for each page.
>
>l_pagebarcode = f_fetch_barcode("Myparameter")
>
>This function gives my the wanted barcode, which i can print with a special font.
>
>I don't know, where or how to to call this function.
>
>I tried at entry on page header band with no success.
>
>Any help welcomed
>
>Best regards
>Albert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform