O$:Report $copies
Juan Bofill
bofill at cantv.net
Tue Jan 26 10:35:35 EST 2010
Xavier
The code I send you works. Make a report with some $backpicture in it
and test it. The first print is without the picture abd the second
with the picture. Maybe $cinst is not the report instance? Use the
full notation to start and "picture" is defined as picture field.
Juan
On 26/01/2010, at 10:37, IT wrote:
> Hi Juan,
>
> Are you able to change the backpicture property of a report ? I am
> not.
>
> Calculate $cinst.$backpicture as ''
> Do $cinst.$backpicture.$assign()
>
> Are refusing to do anything.
>
> regards
>
> xavier
>
> El 25/01/2010, a las 19:55, Juan Bofill escribió:
>
>> Xavier,
>>
>> This may help
>>
>> The report named CERT_CALIFICACIONES has a backpicture in it to
>> start with. The first prints without the picture and the second
>> print with the background picture.
>>
>> Set report name CERT_CALIFICACIONES
>> Calculate picture as $root.$libs.Estudiantes.
>> $reports.CERT_CALIFICACIONES.$backpicture
>> Do $root.$libs.Estudiantes.$reports.CERT_CALIFICACIONES.
>> $backpicture.$assign()
>> Prompt for destination
>> Load page setup
>> Prompt for page setup
>> Prepare for print (Ask for job setup)
>> Print record
>> End print
>> Do $root.$libs.Estudiantes.$reports.CERT_CALIFICACIONES.
>> $backpicture.$assign(picture)
>> Prompt for destination
>> Load page setup
>> Prompt for page setup
>> Prepare for print (Ask for job setup)
>> Print record
>> End print
>> Quit method
>>
>>
>> On 20/01/2010, at 4:25, IT wrote:
>>
>>> Hi all,
>>>
>>> I have a report (an invoice) that can print an original and a
>>> copy. How I can change the background image of the report for the
>>> copies, so i can differentiate from the original ?
>>>
>>> Thanks in advance.
>>>
>>> Xavier
>>> _____________________________________________________________
>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list