Normal Topic Extend Mode with On Form Entry Code (Read 575 times)
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Extend Mode with On Form Entry Code
Apr 15th, 2008 at 8:42pm
Print Post Print Post  
I seem to like extend mode to add new records. It gives you chance to go through your currently added records easily. The problem I am running into is that I have certain programming "On Form Entry" event  and it place some value on the form. I want to have ability to retreat without saving the incomplete record. NotifyForm command will prevent saving incomplete record but would it let me retreat without escaping and re-entering? Is there other method I can use to accomplish this?  Your input is very much appreciated.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Extend Mode with On Form Entry Code
Reply #1 - Apr 15th, 2008 at 8:55pm
Print Post Print Post  
I usually don't put that stuff On Form Entry. I put it On Element Change for a required element or On Form Exit, depending on what it is. That way, it only changes the record if you actually edit it.
  

- Hammer
The plural of anecdote is not data.
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: Extend Mode with On Form Entry Code
Reply #2 - Apr 15th, 2008 at 9:09pm
Print Post Print Post  
Thanks Erika for your prompt input.  I usually like to Display next client to be serviced displayed and info placed in certain elements of the form through Form Entry Event. However, if I just use variables to create a display (on form entry event) of the clients to be serviced without changing any element until one chooses the client. Will this work?  Only after picking  one from the picklist will change the layout. And if that happens and still you want to retreat, I guess, I can hit F3 Key at that point and retreat to previous records safely. Thanks for giving me idea.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Extend Mode with On Form Entry Code
Reply #3 - Apr 15th, 2008 at 9:11pm
Print Post Print Post  
Sure, you can put the information in Static Text elements if you want to display information without "changing" the record.
  

- Hammer
The plural of anecdote is not data.
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: Extend Mode with On Form Entry Code
Reply #4 - Apr 15th, 2008 at 9:28pm
Print Post Print Post  
Thanks. I should work on it.
  
Back to top
 
IP Logged