ODBiC Discussion Board


EACHMULTI processing: order issue

by Keith Andersen, April 23, 2008 10:01

For the following code:

********************************************************* <% EACHMULTI GEONAM %> GEONAM = $GEONAM$<BR> <% IF $MULTIROW$ = 1 %> <% SET GEOCOMBO = '$GEONAM$' %> <% ELSE %> <% SET GEOCOMBO = $GEOCOMBO$', $GEONAM$' %> <% ENDIF %> <% ENDMULTI %>

GEOCOMBO = $GEOCOMBO$ *********************************************************

I get these results:

********************************************************* MULTIROW = 1, GEONAM = YAVAPAI COUNTY UNINCORPORATED AREA MULTIROW = 2, GEONAM = YOUNGTOWN TOWN MULTIROW = 3, GEONAM = YUMA MULTIROW = 4, GEONAM = YUMA COUNTY UNINCORPORATED AREA GEOCOMBO = YOUNGTOWN TOWN, YUMA, YUMA COUNTY UNINCORPORATED AREA, YAVAPAI COUNTY UNINCORPORATED AREA *********************************************************

Why is "YAVAPAI COUNTY UNINCORPORATED AREA" appearing at the end of the GEOCOMBO string (logically should have been the first GEONAM in the string)?

Thanks in advance for any assistance,

Keith


Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 

          


Copyright ©1997-2003, Roger Harris. All rights reserved.