[QGIS Commit] r9015 - docs/trunk/english_us/user_guide

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Aug 7 02:57:37 EDT 2008


Author: gjm
Date: 2008-08-07 02:57:36 -0400 (Thu, 07 Aug 2008)
New Revision: 9015

Modified:
   docs/trunk/english_us/user_guide/working_with_vector.tex
Log:
Update Actions docs to reflect the changes in r9014


Modified: docs/trunk/english_us/user_guide/working_with_vector.tex
===================================================================
--- docs/trunk/english_us/user_guide/working_with_vector.tex	2008-08-07 06:54:14 UTC (rev 9014)
+++ docs/trunk/english_us/user_guide/working_with_vector.tex	2008-08-07 06:57:36 UTC (rev 9015)
@@ -617,6 +617,15 @@
 single argument to the program, script or command. Double quotes will be
 ignored if preceded by a backslash.
 
+If you have field names that are substrings of other field names (e.g., \usertext{col1}
+and \usertext{col10}) you should
+indicate so, by surrounding the field name (and the \% character) with square
+brackets (e.g., \usertext{[\%col10]}). This will prevent the \usertext{\%col10} field
+name being mistaken for the \usertext{\%col1} field name with a \usertext{0}
+on the end. The brackets will be removed by QGIS when it substitutes in the
+value of the field. If you want the substituted field to be surrounded by square
+brackets, use a second set like this: \usertext{[[\%col10]]}.
+
 Two example actions are shown below:\index{actions!examples}
 
 \begin{itemize}



More information about the QGIS-commit mailing list