Thanks Steve- That was it. I had tried this first, and when it didn't work I went on to other dead ends. Looking at my first try, I see that I had a mis-placed > in my [<@CURROW,5>] syntax. Time to set this aside and enjoy the weekend. Thanks again- Mark Bushaw
On 15 Jun 2002 at 20:21, Steve Smith wrote: > Try <@ASSIGN NAME='variablename[<@CURROW>,5]' > VALUE='http://www@@variablename[<@CURROW>,5]'> inside of a <@ROWS > ARRAY=variablename></@ROWS> loop. > > I haven't tested this so you might want to check the syntax. > > Hope this helps, > > Steve Smith > > Skadt Information Solutions > Office: (519) 624-4388 > GTA: (416) 606-3885 > Fax: (519) 624-3353 > Cell: (416) 606-3885 > Email: [EMAIL PROTECTED] > Web: http://www.skadt.com > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Bushaw > Sent: June 15, 2002 7:31 PM > To: Multiple recipients of list witango-talk > Subject: Witango-Talk: Modifying contents of an Array > > > I guess my brain is on strike, because I can't figure this out- > I perform a search and assign the results to an array. Then I want to > modify the > contents of one column in every row (modify the item number to a full URL), > then > perform formatting and save as a .txt file. > I've got everything except the cell modification. I can't figure out the > syntax for > making the <@REPLACE> to work. In my example I need to modify the 5th > column of every row by adding http://www... to the beginning of the existing > data > (productID). I can read the column, add the URL data and see the correct > results > as a separate variable (so I know that part is OK), but I can't figure out > how to get > that back into the array. > I'm thinking I may have to create a new array, and load it with the data > from the > resultset plus the modified data, but thought I'd check to see if there was > an easier > way. > Thanks > Mark Bushaw > > ________________________________________________________________________ > 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
