Normal Topic Print element names (Read 521 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Print element names
Apr 9th, 2013 at 12:40pm
Print Post Print Post  
I believe I've read a way to print the names of all the elements on a form but I don't know how to do it.

Would you provide the programming I need, please?

Thanks!
  
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: Print element names
Reply #1 - Apr 9th, 2013 at 2:21pm
Print Post Print Post  
var vList as String
vList = @stringArrayElementList( )
  
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: Print element names
Reply #2 - Apr 9th, 2013 at 2:23pm
Print Post Print Post  
Hello,

The following should work for you

Code
Select All
Write(@Replace(@StringArrayElementList(), ";", @Newline())) 



Note: This is all the elements on the form, including Tab Pages and Tab Groups so you may see some names you do not recognize.

-Ray
  

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