Thanks Dave, that did the trick. -Craig
Thursday, November 14, 2002, 9:58:55 AM, David Shelley wrote: > Craig, > I would recommend writing the method to accept an array of IDs as input, > then loop through those and generate your reports. If you put the loop in > your taf file you incur the extra overhead of calling the method 50 times. > It's a normal for loop you need, not an object loop. > Dave Shelley > [EMAIL PROTECTED] > Visit tango.ca for expert developer assistance, custom business applications > or application audits. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:owner-witango-talk@;witango.com]On Behalf Of Craig Lutz > Sent: Thursday, November 14, 2002 9:46 AM > To: Multiple recipients of list witango-talk > Subject: Witango-Talk: object loop question > I have a TCF that takes one parameter - an ID - and then > does a bunch of dbms stuff and then returns an HTML report > based on that ID. > I have only had to prepare the report for one ID at a time > so this was never an issue, but now I need to do the same > thing for say an array of 50 IDs. > So, my questions is, what is the most appropriate way of > doing this? Should I just set up a normal FOR LOOP and > execute the TCF for each row in the array and let the HTML > accumulate. > Or is this what an OBJECT LOOP is for? I've never used that > action before and am not sure I completely get what it is > asking for. > Any advice would be greatly appreciated. > Thanks, > Craig > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
