Filling the New Column with Explicit Values - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

Using the Values clause, you can specify a comma-separated list of explicit values to store in the new column.

The following example adds a temporary column to a table of "ward" regions. The values for the new column are explicitly specified, through the Value clause.

Open Table "wards" 
Add Column wards(percent_dem) 
Values 31,17,22,24,47,41,66,35,32,88