Normal Topic Sesame 2.6.4 - goto in Subform (Read 483 times)
Roland
Member
*
Offline


No personal text

Posts: 7
Joined: Jun 29th, 2004
Sesame 2.6.4 - goto in Subform
Nov 17th, 2017 at 6:56am
Print Post Print Post  
I updated from 2.6.0 and now the code GOTO in subform do not work.
Situation: Parentform: Purchase with subform PurchaseItems
Importing from txt-file to PurchaseItems works fine but sometimes I must add some Items per hand in the subform. After adding a new Record I am looking for the Information (ArtNo,piece quantity to buy...) of the Item in ART.DB
ProgramingCode:
[Global of Subform]
stat sSkip as int
[First LE in Subform (EAN) On Element Exit]
var vFind as string
vFind = @XLookupsourceListl(..)
if @Error then
{
   sSkip = 1
} else
{
   ArtNo = @AccessStringArray(vFind,1)
   ...
}
[Second LE in Subform (ArtNo) On Element Entry]
if sSkip = 1 then
{
  Clear(EAN)
  GoTo EAN
} else
{
  GoTo Name  // Third LE in Subform
}
These two GoTo do not work, is there a way to go to the right LE?
  
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: Sesame 2.6.4 - goto in Subform
Reply #1 - Nov 20th, 2017 at 7:07pm
Print Post Print Post  
Did you try ThrowFocus?
  



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