Normal Topic Clear(List) (Read 570 times)
NICEBERG
Full Member
Members
***
Offline


I came, I saw, I'm still
trying to figure it out!

Posts: 208
Location: Green Bay, WI
Joined: Dec 17th, 2003
Clear(List)
Jul 7th, 2006 at 8:03pm
Print Post Print Post  
Clear(list) is fine for clearing a handful of elements. Is there a way to clear ALL elements on an open form? This would be helpful for pre-programming retrieve specs without naming all elements to clear for each spec.
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Clear(List)
Reply #1 - Jul 7th, 2006 at 8:07pm
Print Post Print Post  
Hello Fred,

If you are on the retrieve spec just use @SelectTreeItem() to choose the F3 option off the menu tree.

Code
Select All
Var vClear as Int

vClear = @SelectTreeItem("Search Menu!Clear Form (F3)") 



Faster than looping through all the elements.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
NICEBERG
Full Member
Members
***
Offline


I came, I saw, I'm still
trying to figure it out!

Posts: 208
Location: Green Bay, WI
Joined: Dec 17th, 2003
Re: Clear(List)
Reply #2 - Jul 7th, 2006 at 8:20pm
Print Post Print Post  
Duh...sometimes I feel like such an idiot. Thank you! I won't bother you anymore today.
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Clear(List)
Reply #3 - Jul 7th, 2006 at 8:37pm
Print Post Print Post  
ah Don't feel like an idiot. I've done worse.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged