CAPITAL Office Business Software
CAPITAL Support Forum
FAQSearchMembersGroupsRegisterProfilePM'sLogin/Out
Displaying Variable Images on Forms

 
Post new topic   Reply to topic    CAPITAL Office Business Software Forum Index -> Visual Builder (Report & Form Design)
View previous topic :: View next topic  
Author Message
Ian
Guest





PostPosted: Thu Jan 04, 2018 6:21 pm    Post subject: Displaying Variable Images on Forms Reply with quote

I am doing a bit of a tidy-up of our document printing forms, and getting rid of multiple similar versions of the same form. (e.g. we currently have over 2 dozen invoice forms)
It would be useful if I could selectively include an image on some of the forms. For example, if the location is XXX include an alternative company logo.
Is there a neat way to do this?
Back to top
COBS Tech Support



Joined: 09 Sep 2005
Posts: 626

PostPosted: Mon Jan 08, 2018 8:54 am    Post subject: Reply with quote

Instead of inserting an image object, create a field object. On the formula tab specify the file path and make sure you tick Return As Image File.

For example on the Formula tab the return value might be:

If X
Return "\\server\logos\logo1.png"
Endif

If Y
Return "\\server\logos\logo2.png"
Endif

The logo's should be generally of the same size and width. Expand the field object by dragging with your mouse to indicate the area that you want to draw in.

(This is also how the Catalog Wizard templates can support catalogs with customised images on them.)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CAPITAL Office Business Software Forum Index -> Visual Builder (Report & Form Design) All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

phpBB Template by Vereor
Protected by Anti-Spam ACP