[Gvsig_english] Field calculator expression

Ruth Schönbuchner r.schoenbuchner at hotmail.de
Thu May 3 15:27:33 CEST 2012



Hi Johannes, 

thanks! I had only [string] fields but I could combine them with help of your syntax. 
[NAME]+': '+[NUMBER]+' No.'
The syntax was not correct in my case.. 
Thanks again and best regards, 
Ruth

Ruth Schönbuchner
CSGIS
Email:ruth.schoenbuchner at csgis.de
Web: http://www.csgis.de

> Date: Thu, 3 May 2012 05:17:16 -0700
> From: spatialjoe at googlemail.com
> To: gvsig_internacional at listserv.gva.es
> Subject: Re: [Gvsig_english] Field calculator expression
> 
> Hi Ruth,
> 
> combining two flieds in one extra field is easy as long as you think about
> data types.
> So in your example, I assume [output] to be a string field whereas [Number]
> maybe integer.
> You have to convert numerical to string values (Typ: numerisch,
> Kommandos:tostring)
> So [output] in your examplewould be:
> 
> [NAME]+': '+ toString([NUMBER])+' No.'
> 
> Best,
> 
> Johannes
> 
> 
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/Field-calculator-expression-tp4949047p4949066.html
> Sent from the gvSIG users mailing list archive at Nabble.com.
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
> 
> To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:
> 
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20120503/24cc03f3/attachment.htm 


More information about the Gvsig_internacional mailing list