Page Index Toggle Pages: 1 [2]  Send Topic Send Topic Print Print
Hot Topic (More than 10 Replies) Programming Command Buttons (Read 2044 times)
jerry.frazier
Member
*
Offline


No personal text

Posts: 16
Location: Fort Worth, Texas
Joined: Feb 12th, 2004
Re: Programming Command Buttons
Reply #15 - Feb 16th, 2004 at 1:19pm
Print Post Print Post  
I was able to get the macros working.  For an entry in Sesame for Dummies if any one is creating such a manal,  use the tab key to get focus to the form containing the command button before turning on the macro recorder.  Make sure the focus is located at the destination point before turning the recorder off.  This is critical if you want to hide the command tree.

One more question,
Is there any way to determine by programming what is the current mode (add data, Search, Update) of the form?

Thanks,
Jerry
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: Programming Command Buttons
Reply #16 - Feb 16th, 2004 at 3:23pm
Print Post Print Post  
Jerry

@Add         page 75-76 of the programming guide
@Update    page 120 of the programming guide

No programming runs in Search mode so there is no need to tell if you are in that mode
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
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: Programming Command Buttons
Reply #17 - Feb 19th, 2004 at 3:04pm
Print Post Print Post  
Quote:
@Add    page 75-76 of the programming guide
@Update    page 120 of the programming guide


In Sesame one can add new record from Add Menu as well as from Update Menu. This really makes @add command obsolete and is not likely to give desirable results. I believe new @IsNew command is there to address the need.

If @IsNew and LE = ''"  then
If @IsNew and @update  then
If not @IsNew and @update then

Any thoughts?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send Topic Send Topic Print Print