The eccoMAGIC Forums
http://forums.eccoMAGIC.com/forum/YaBB.pl the SLANG EXTENSION and Guest Programming >> Slang Rules Scripts, Functions, Examples and HOW TO >> Folder to ITT concatenation http://forums.eccoMAGIC.com/forum/YaBB.pl?num=1198775924 Message started by albertschepers on 12/27/07 at 11:18:44 |
Title: Folder to ITT concatenation Post by albertschepers on 12/27/07 at 11:18:44 This litle routine was created to asst in making data compatible with the current data entry so that historical information can be extracted. There is no data checking to verify if the actual data meets the criteria rather it is assumed that the operator has filtered the -- a routine to concatenate Project folder information into the item text -- function ProjectToITT() NumberItems=get_select_items() -- get the item ids of all selected items MaxItems=table.maxn(NumberItems) -- determine the total number of selected items for ctr=1, MaxItems do set_item_text(NumberItems[ctr],"#"..get_folder_value("Project",NumberItems[ctr]).." "..get_item_text(NumberItems[ctr])) end end |
The eccoMAGIC Forums » Powered by YaBB 2.1! YaBB © 2000-2005. All Rights Reserved. |