<set stAllMyErrors = StructNew()>
<loop through each row>
<set tmpErrStruct = StructNew()>
<loop through the columns>
<if this column is bad>
<set tmpErrStruct[columnname] = 'there was an error in
this column'>
</if>
</loop>
<if NOT structIsEmpty(tmpErrStruct)>
<set stAllMyErrors[thisrow] = tmpErrStruct>
</if>
</loop>
Then stAllMyErrors should contain a structure of any errors for each
row which had an error, and nothing else.
Yes?
No?
Bert
On Thu, 02 Dec 2004 09:15:05 -0400, Brant Winter <[EMAIL PROTECTED]> wrote:
<<<>>>
> Bert - I think that is I have 24 fields per row, if I have multiple errors
> per row they wont be able to be written as a group of errors if you know what
> i mean ? What I want is an array with the row number as the element number,
> and in that a structure that "may" have 24 elements in total.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185920
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54