<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Thank for replying,<br><br>There is no exception. Here is my code:<br><br>try <br>{ <br>MgInitializeWebTier ($configFilePath); <br>$userInfo = new MgUserInformation($sessionId); <br>$siteConnection = new MgSiteConnection(); <br>$siteConnection-&gt;Open($userInfo); <br><br>$resourceService = $siteConnection-&gt;CreateService(MgServiceType::ResourceService); <br>$map = new MgMap($siteConnection);<br>$map-&gt;Open($mapName);<br><br>$featureService = $siteConnection-&gt;CreateService(MgServiceType::FeatureService); <br><br>$queryOptions = new MgFeatureQueryOptions(); <br>$queryOptions-&gt;SetFilter("FeatId &gt; 0"); <br>$layer = $map-&gt;GetLayers()-&gt;GetItem("District");<br>$featureResId = new
 MgResourceIdentifier($layer-&gt;GetFeatureSourceId());<br><br>$featureReader = $featureService-&gt;SelectFeatures($featureResId, $layer-&gt;GetFeatureClassName(), $queryOptions);<br><br>while ($featureReader-&gt;ReadNext()) <br>{ <br>&nbsp;&nbsp;&nbsp; echo $featureReader-&gt;GetInt32('DistrictID') . "&lt;br /&gt;";&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>} <br>$featureReader-&gt;Close(); <br><br>} <br>catch (MgException $e) <br>{ <br>&nbsp; echo $e-&gt;GetMessage(); <br>&nbsp; echo $e-&gt;GetDetails(); <br>}<br><br>I have more than 300 record in layer District, but I can only see 100 record out of 300. I don't know what wrong..<br><br><br>Thanx,<br><br><br>Ary Sucaya<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Bruce Dechant &lt;bruce.dechant@autodesk.com&gt;<br>To: MapGuide Users Mail List &lt;mapguide-users@lists.osgeo.org&gt;<br>Sent: Tuesday, December 11, 2007 8:30:29
 PM<br>Subject: RE: [mapguide-users] FeatureReader<br><br>



 
 

<style>
<!--
 _filtered {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
span.EmailStyle17
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
.MsoChpDefault
        {font-size:10.0pt;}
 _filtered {margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {}
-->
</style>



<div class="Section1">

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">There is no limit. Is an exception being thrown? If so that
would give you a clue as to why it is not working as expected.</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Thanks,</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Bruce</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> 

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> 

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">From:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">
mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>ary sucaya<br>
<b>Sent:</b> Monday, December 10, 2007 9:20 AM<br>
<b>To:</b> Mapguide User<br>
<b>Subject:</b> [mapguide-users] FeatureReader</span></p> 

</div>

</div>

<p class="MsoNormal"> &nbsp;</p> 

<div>

<div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Hii
group,</span></p> 

</div>

<div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">&nbsp;</span></p> 

</div>

<div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">I
have a problem with feature reader. I have a sdf layer joined with external
table and i can't make a looping for all of this records. It's always jump out
the loop after 100 records.&nbsp;I tried the same code with different sdf layer
without join to external layer, it's work well.&nbsp;</span></p> 

</div>

<div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Is
there any limitation of joined layer in MapGuide 1.2?&nbsp; Anyone can help me?</span></p> 

</div>

<div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">&nbsp;</span></p> 

</div>

<div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">&nbsp;</span></p> 

</div>

<div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">regards,</span></p> 

</div>

<div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">&nbsp;</span></p> 

</div>

<div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Ary
Sucaya</span></p> 

</div>

</div>

<p class="MsoNormal"> &nbsp;</p> 

<div class="MsoNormal" style="text-align: center;" align="center">

<hr align="center" size="1" width="100%">

</div>

<p class="MsoNormal">Looking for last minute shopping deals? <a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearch/category.php?category=shopping">Find
them fast with Yahoo! Search.</a></p> 

</div>

</div><br></div></div><br>
      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>