Maybe you should add an internal PK to the table (integer type), use it 
in the view and then modify your mapfile as explain by Marcello :
DATA "geom FROM your_table USING UNIQUE your_pk USING SRID=4326"

Sidney Gijzen a écrit :
> No, I mean querying by using the Identifier tool, so he has to find 
> the RESULT_FIELD I specified in the Map-file. I already double-checked 
> it, and the RESULT_FIELD does exist in the DB. However it suddenly 
> expects an integer as PK to return when I query...... and I have no 
> integers in the DB-view which is queried......
>
>
>
> Thomas Raffin wrote:
>> You mean querying with search.xml?
>>
>> Sidney Gijzen a écrit :
>>> Yes, I can display the layer without any problems. However, as soon 
>>> as I start querying it gives the PHP-error and the query result 
>>> window doesn't load.
>>>
>>> ------------------------------------------------------------------------------
>>>  
>>>
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
>>> 30-Day trial. Simplify your report design, integration and 
>>> deployment - and focus on what you do best, core application coding. 
>>> Discover what's new with Crystal Reports now.  
>>> http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>>>
>>>
>>>
>>>
>>>   
>>
>>
>> </div>
>>
>
>
>
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to