Welcome, Guest. Please Login or Register.
eccoMAGIC Forums
07/21/24 at 20:39:12
News: The Yahoo New Yahoo! Ecco_Pro forum was ended by Yahoo's end of board support... New group is at groups.io
Home Help Search Login Register


Pages: 1
Send Topic Print
  Rating
Rate:
Rating:
Rating: 0.00
Votes: 0

5
4
3
2
1












5
4
3
2
1


1


2


3


4


5


6


7


8


9


10

Sample of using TABLE in Parent (Popularity: 3724 )
Admin
Administrator
*****


I love Ecco!

Posts: 134
Show the link to this post Sample of using TABLE in Parent
03/10/08 at 13:53:46
 

 Roll Eyes Have sub items' folders filled in,  based on a TABLE of the item's parents!
 
 
for this example,
 
 
you have several store locations,
at each location you have staff.
 
You want to print out a shift schedule,  but you don't want to have to type in each persons name over and over, etc.
 
You could use a Pulldown list  ==> if you have less than 256 options.
 
but sometimes it's just easier and much faster,  to enter first & last initial, etc.
 
 
or many other instances where being able to LOOKUP A TABLE  is extremely helpful!
 
(results could also be used in calculations, etc. etc.)
 
 
here,  you could have a different list of names (different table) for each location..  
 
also,
 
you can have multiple tables....
 
 
key rule is:
 
 
Quote:
++:!+NFP:imatch([^Table], "(?:^|\n)\Q" + [Index] + "==>\E(.*)(?:\r|\s*$)"):

 
 
Back to top
 

The Administrator.
WWW   IP Logged
Admin
Administrator
*****


I love Ecco!

Posts: 134
Show the link to this post Re: Sample of using TABLE in Parent
Reply #1 - 03/10/08 at 14:02:12
 

here is an alternative structure,
 
using a very simple rule:
 
 
Quote:
++:!:eval("[^Shift" + [Shift#] + "]"):

 
 
which also demonstrates the power of the "Eval()" expression... to build rules 'on the fly'....
 
 
 
here you have an actual table (ecco style) to fill in -- each folder # gets a distict value, and you reference each item by that folder # (could also be name/digits, etc.)
 
 
 
Back to top
 

The Administrator.
WWW   IP Logged
Pages: 1
Send Topic Print