Normal Topic User input dialogs not always appearing (Read 1270 times)
lksseven
Full Member
***
Offline



Posts: 416
Location: Southwest
Joined: Jan 26th, 2009
User input dialogs not always appearing
Mar 15th, 2010 at 5:15pm
Print Post Print Post  
all systems running WinXP, latest service paks.  Sesame 2.5.  6 clients (all using JustInTime Compilation turned ON).  Intermittent problem of having command buttons (sample code below) not popping up user input windows.  But if the user exits Sesame and then reloads Sesame client, all is well.  Doesn't seem to be rhyme nor reason to it.  Some days no problems, but some days it happens on multiple workstations multiple times.  Seems more likely to happen if client has had no keyboard input for awhile (30 minutes, lunchtime, etc).  Any ideas?

OnElementEntry event of command button ...

ex 1:   vWhat = @QuestionUser("To enter a ContactNote, click <OK>.  To create a quote, enter 'Q' and click <OK>.","")

ex 2:   vQuestion1 = @PromptforUserInput("Enter the first 4 digits of the client id, then press <OK>", "")  
« Last Edit: Mar 16th, 2010 at 5:37pm by Hammer »  

Larry
Back to top
IP Logged
 
Ben
Lantica Support
*****
Offline



Posts: 218
Joined: Apr 7th, 2005
Re: Sesame client reboots multiple times/day
Reply #1 - Mar 15th, 2010 at 6:38pm
Print Post Print Post  
We will need you to send in the following files from your Server machine and one of the client machines. The files may be emailed to support@lantica.com.

From the server:
   s2_log0000.log
   sesame.ini

From the client:
   s2_log0000.log
   sesame.ini

Your files will be located in the Sesame2 directory on each machine.
  
Back to top
IP Logged
 
lksseven
Full Member
***
Offline



Posts: 416
Location: Southwest
Joined: Jan 26th, 2009
Re: Sesame client reboots multiple times/day
Reply #2 - Mar 15th, 2010 at 8:27pm
Print Post Print Post  
files have been emailed.  Thanks, Ben.

ps - I would mention that the wiggy-ness occurs in different database forms, not just a specific one.
  

Larry
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: User input dialogs not always appearing
Reply #3 - Mar 16th, 2010 at 5:31pm
Print Post Print Post  
Hello Larry,

On line 221 of the LE5 on Element Entry event on the Orders form you have what I'm assuming is an extra Else statement. This controls the next line of executable code which is WarningLevel(1). In version 2.5 and earlier if the WarningLevel is set to 0 @AskUser(), @Msgbox, and other dialogs will not appear.

There may be other cases in your application where you are setting WarningLevel to 0 and not resetting it back to 1.

One thing to note is that version 2.5.1 which was just released will show the @AskUser and @Msgbox commands even when WarningLevel is set to 0.

-Ray
  

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



Posts: 416
Location: Southwest
Joined: Jan 26th, 2009
Re: User input dialogs not always appearing
Reply #4 - Mar 17th, 2010 at 1:39am
Print Post Print Post  
Thanks Ray!  My "bad".   I've corrected that dangler, and am happy to know about it.
  

Larry
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: User input dialogs not always appearing
Reply #5 - Mar 26th, 2010 at 5:41am
Print Post Print Post  
Placing this before certain User Interaction commands will not hurt.

var vWarn as Int

// Place this before UserInteraction command

           vWarn = @WarningLevel ( )
           If vWarn = 0 then
                 {
                       WarningLevel (1)
                 }
  
Back to top
 
IP Logged
 
lksseven
Full Member
***
Offline



Posts: 416
Location: Southwest
Joined: Jan 26th, 2009
Re: User input dialogs not always appearing
Reply #6 - Apr 1st, 2010 at 10:19pm
Print Post Print Post  
Thanks, Bharat.  I'll start incorporating that.
  

Larry
Back to top
IP Logged