Normal Topic Problem with @msg() (Read 846 times)
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Problem with @msg()
Jan 14th, 2004 at 10:57pm
Print Post Print Post  
I can get @msgbox to work but not @msg

Why is it that this code works properly with @msgbox() but not @msg()

// This checks if To see if Technotes are present and displays them
// when clicked if  they exist
// when none exists it returns a msgbox stating that.


  var vimptechn as STRING
var vImcommand as String
vAR vTechnoteName as string


If YnTechnotes = yes then
{
 
     vTechnoteName = ("c:\sesame\techn04\" + @str(PatientID) + ".tif")

     vImCommand = ("C:\ACDSee32\ACDSee32.exe" + " " + (VtechNoteNAME) )

       // Writeln(Vimcommand)

      vimptechn = @Shell(vimCommand)

}
Else
{
     @msgbox("","The system shows no Tech notes Present for this activity","")
     // @msg("The system shows no Tech notes Present for this activity")
}
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Problem with @msg()
Reply #1 - Jan 14th, 2004 at 11:01pm
Print Post Print Post  
@msg messages appear in the status bar along the bottom edge of Sesame. Each one will overwrite the previous one. Are you sure that no other status message is coming along and overwriting the @msg you are creating before you have a chance to see it?
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: Problem with @msg()
Reply #2 - Jan 14th, 2004 at 11:12pm
Print Post Print Post  
Quote:
Are you sure that no other status message is coming along and overwriting the @msg you are creating before you have a chance to see it?


You are correct once again!  Smiley

I can not believe I overlooked that. Embarrassed

Thanks
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged