On 11/04/2011 05:34 AM, Frank Cazabon wrote:
> Hi Jeff,
>
> please don't use a public variable unless absolutely necessary.  You
> should be able to use a private one (or even a form property) declared
> in the same place you call the report from.
>
> Frank.
>
> Frank Cazabon
>
>
>
> On 04/11/2011 08:19 AM, Jeff Johnson wrote:
>> On 11/03/2011 11:26 AM, Sytze de Boer wrote:
>>> I don't know if I've misunderstood your issue but I'll share my scenario.
>>>
>>> Depending on circumstances, I print any one of 12 pictures on a report
>>> The pictures are jpg files. (An employee signature)
>>>
>>> I have a public variable SIGPIC. Before printing the report I call the
>>> procedure and define sigpic (which picture goes on this report)
>>> In the FRX it refers to this variable
>>> It then prints the appropriate signature on the report
>>>
>>>
>>> On Fri, Nov 4, 2011 at 6:06 AM, Jeff Johnson<[email protected]>    wrote:
>>>
>>>> I want to be able to change an image on a report based on a procedure.
>>>> For example the picture control source would be the results of
>>>> pgetlogo().  The problem is that the report .frx is excluded from the
>>>> project.  Is there a way to put a method in the frx?
>>>>
>>>> TIA
>>>>
>>>> --
>>>> Jeff
>>>>
>>>> ---------------
>>>>
>>>> Jeff Johnson
>>>> [email protected]
>>>> (623) 582-0323
>>>>
>>>> www.san-dc.com
>>>>
>>>>
>> You guys are so smart!  I struggled a bit with an fxp and basically
>> called the image the same thing for each customer and just included when
>> I distributed the application.  Sytze's solution would do the same thing
>> without having to rename the image for each customer.  I'm going to try
>> that.
>>
>> Oh, and you understood my situation perfectly.  That is what I am trying
>> to accomplish.
>>
>> Thanks,
>>
>> Jeff
>>
>> ---------------
>>
>> Jeff Johnson
>> [email protected]
>> (623) 582-0323
>>
>> www.san-dc.com
>>
>>
>>

Thanks Frank!  Actually I came up with another idea.  Having each 
customer use the same image names is working great.  What I am going to 
try is save each of the images in a table and copy them to the report 
folder based on the customer when I install the application.

Thanks,

Jeff

---------------

Jeff Johnson
[email protected]
(623) 582-0323

www.san-dc.com





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to