Normal Topic Static Picture in Report (Read 834 times)
GJK
Junior Member
**
Offline


Felix qui potuit rerum
cognoscere causas

Posts: 80
Location: Kankakee. Il
Joined: Apr 22nd, 2003
Static Picture in Report
Mar 22nd, 2004 at 6:37pm
Print Post Print Post  
I'm having trouble with attaching a static picture element into my report. When I created the report I added a Static Picture Element  (SPE) and in the descriptor I put the path to the picture that I want as my logo, I can't make it appear. The rest of the report is great. In designer when adding the element where does the path go? I reviewed the manuals and still am not sure. HELP MEEEE PLEASE!  ???

Bobscott, where are you when I need you ?


  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Static Picture in Report
Reply #1 - Mar 22nd, 2004 at 7:11pm
Print Post Print Post  
The full path and image name for the static picture goes into the Label for the element.  This information was mistakenly not included in the manuals.

From the FAQ, http://www.lantica.com/Support/KBase/sesame_faq.html#62:

Quote:
How do I add an image to my form that always stays the same?
In Sdesigner, an image that always stays the same is called a "Static Picture". It is added to the form using the Layout Element Adder. From the Select Element Type pulldown menu, select "Static Picture". Fill in the Label text box for the Static Picture with the full path to that image file. Example:

Label: C:\MyPictures\MyCompanyLogos\logo_12.bmp

Then press the Add Element to Form button. After the Static Picture has been added, it can be moved or resized.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Static Picture in Report
Reply #2 - Mar 22nd, 2004 at 7:20pm
Print Post Print Post  
Actually, for a Report the static image must be in the Image Path for the application, and the path to the static image (in the Label) must be relative to the Image Path for the application. 

Sorry for the inconsistency on this.  Embarrassed
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Static Picture in Report
Reply #3 - Mar 22nd, 2004 at 7:41pm
Print Post Print Post  
Oops, I missed reports vs. forms, but never noted the distinction.  Thanks for pointing that out.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
GJK
Junior Member
**
Offline


Felix qui potuit rerum
cognoscere causas

Posts: 80
Location: Kankakee. Il
Joined: Apr 22nd, 2003
Re: Static Picture in Report
Reply #4 - Mar 22nd, 2004 at 8:07pm
Print Post Print Post  
Hammer, I must not have taken all of my medication this morning so I'm not quite following the path you are suggesting.  You talk about the image path to the application, I thought that was defaulted to c:\sesame\pics\*.bmp. Or am I missing something? Embarrassed
  
Back to top
 
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Static Picture in Report
Reply #5 - Mar 22nd, 2004 at 9:08pm
Print Post Print Post  
That path is user definable.

Open your application,  Select File, Application Property Manager.  There is a field named "Image Path" that can be used to define where the image files will be located.  The default is blank which defaults to the Sesame CWD folder.

If you check the Gems application, you will see that "Pics" has  already been set there.  But each application can have its own default folder for images.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged