Normal Topic Problem with static picture (Read 413 times)
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Problem with static picture
Mar 29th, 2006 at 6:40pm
Print Post Print Post  
Hello !

The Script in main menu Form Entry:

IF @mode() = 1 Then
Logo = "C:\Sesame\Pics\logo.jpg"

i used the IF @mode() = 1  because it does not work
only with : Logo = "C:\Sesame\Pics\logo.jpg"

I have placed my logo and the preview mode display the static picture.

After Reconciliation the static picture would not display the picture in Sesame run mode !

The location is the  folder C:\Sesame\Pics\logo.jpg.
 
Did I do anything wrong?


  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Problem with static picture
Reply #1 - Mar 29th, 2006 at 9:22pm
Print Post Print Post  
Hello,

Quote:
i used the IF @mode() = 1  because it does not work 
only with : Logo = "C:\Sesame\Pics\logo.jpg"


You do not need to have an If Statement before the line assigning Logo. The line
Code
Select All
 Logo = "C:\Sesame\Pics\logo.jpg" 

will work by itself. Just be sure that you save it before you try to test it.

Quote:
I have placed my logo and the preview mode display the static picture.

After Reconciliation the static picture would not display the picture in Sesame run mode !


Are you sure that you reconciled to the correct DB file and that the reconcile was successful? Preview mode and Runtime behave exactly the same when it comes to static images.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Amor
Full Member
Members
***
Offline


No personal text

Posts: 366
Location: Germany
Joined: Feb 7th, 2004
Re: Problem with static picture
Reply #2 - Mar 31st, 2006 at 9:56pm
Print Post Print Post  
Hello Ray-


The Script does not work in main menu Form Entry .
But it does in Retrieve Mode  !


Thanks.
« Last Edit: Mar 31st, 2006 at 11:06pm by Amor »  

Dr. med. Amor Belhareth&&Medizin Labor &&Germany
Back to top
 
IP Logged