Hi Henning, Your Search Action should automatically provide column names for your local$resultSet Array. If it's not doing this, then likely you are using a version of Witango older than 4.0 (2000) or possibly a type of database that Witango doesn't like too much??
The column names are stored in row '0'. Like so, <@VAR local$resultSet[0,*]> When an Array exists, the column names can be changed (or assigned) like this: <@ASSIGN local$resultSet[0,1] value="MyNewColumnOneName"> So you can call a value from an Array by column names like this: <@VAR local$resultSet[4,MyNewColumnOneName]> Hope this helps and I hope you have a recent version of Witango. Cheers... Scott Cadillac http://xml-extra.net [EMAIL PROTECTED] VP, Research and Development Plus International Corp. 604-460-1843 [EMAIL PROTECTED] http://www.plusinternational.com Vancouver, BC, Canada Does your company have an Enterprise Information Portal? Check out Salsa at www.plusinternational.com/flash/salsa.htm ----- Original Message ----- From: "Henning Sittler" <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Thursday, June 06, 2002 8:56 AM Subject: Witango-Talk: > How can I create an array and name it's columns (and rows for that matter)? > I don't see this in the tango help or snippets, but I do see that you can > reference columns by name in an array, and I have done so before. I just > don't know how to create one. > > Specifically, I want to name the columns of my array by the columns names of > the results columns returned from a search action. > > Thanks, > > > Henning Sittler > www.inscriber.com > > ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
