Normal Topic Help with GOTO Statement (Read 471 times)
billgordon
Junior Member
**
Offline


No personal text

Posts: 61
Joined: Dec 31st, 2003
Help with GOTO Statement
Mar 18th, 2004 at 11:30pm
Print Post Print Post  
What is the correct method to send the curser back to the field element it is exiting?

Example

When exiting the Social Security Number count the digits if it does not equal 9 goto  Social Security Number. I can get everything to work but I can not put the curser back in the field element it is leaving.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Help with GOTO Statement
Reply #1 - Mar 18th, 2004 at 11:34pm
Print Post Print Post  
Known bug - fixed in 1.0.2.

From http://www.lantica.com/Support/sesame_workarounds.html
Quote:
Bug: Using the SBasic command GOTO to stay in the currently focused LE does not work.

Symptoms:
A GOTO statement is used in the OnExit SBasic for an LE to force the user to reamin in that LE, but the focus still moves to the next LE.

Workaround:
Use a different means to inform the user of legal values, such as a message box. Or use a LE type that restricts data by only offering the legal values, such as a List Box, set of Check Buttons, or a Radio Button Group.

Status:
Fixed in Sesame 1.0.2

  

- 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: Help with GOTO Statement
Reply #2 - Mar 18th, 2004 at 11:37pm
Print Post Print Post  
My recollection is that this is a Known Problem that I believe is supposed to be corrected in 1.0.2.

Known Problems and Work Arounds can be found at:
http://www.lantica.com/Support/sesame_workarounds.html
  



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