Thanks Alessandro, I found the problem after opening the dbf file with the hex editor. I found that field names have trailing spaces, so for example field named ID is shown as ID but in fact it is "ID" followed by 8 spaces. I didn't see this before. Now I have to find a way to workaround this if possible...
regards, dejan > -----Original Message----- > From: Alessandro Pasotti [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 11, 2007 12:06 PM > To: [email protected] > Cc: Gambin Dejan > Subject: Re: [pmapper-users] Empty field values in query result > > Il 11:55, mercoledì 11 aprile 2007, Gambin Dejan ha scritto: > > I checked, the field name is in UPPERCASE. I have examined > the content > > and evrything is fine except this line that returns > nothing. $qShape > > and $fldName variables are fine as I can see. $qShape is > returned by: > > > > $qShape = > $this->qLayer->getShape($qRes->tileindex,$qRes->shapeindex); ... > > $qRes->tileindex and $qRes->shapeindex are also valid > > > > This is really wierd > > try > > error_log(print_r($qShape->values, true)); > > not a nice output but you can figure out how the fetched > values looks like. > > -- > Alessandro Pasotti > itOpen - "Open Solutions for the Net Age" > w3: www.itopen.it > Linux User# 167502 > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ pmapper-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pmapper-users
