Skip to content

AsItemList

mtbeek32 edited this page Jan 2, 2023 · 13 revisions

String functions AsItemList

syntax

  • AsItemList(string_dataitem)
  • AsItemList(string_dataitem, relation)

definition

applies to

conditions

The domain units of arguments string_dataitem and relation must match.

example

parameter CityListParam     := AsItemList(City/Name);  result = 'Groningen,Delfzijl,Winschoten,Leeuwarden,Dokkum,Bolsward,Emmen,Assen,Hoogeveen'  attribute CityList (Region) := AsItemList(City/Name, City/Region_rel);

City/Name City/RegionNr
'Groningen' 0
'Delfzijl' 0
'Winschoten' 0
'Leeuwarden' 1
'Dokkum' 1
'Bolsward' 1
'Emmen' 2
'Assen' 2
'Hoogeveen' 2

domain City, nr of rows = 9

CityList
'Groningen,Delfzijl,Winschoten'
'Leeuwarden,Dokkum,Bolsward'
'Emmen,Assen,Hoogeveen'

domain Region, nr of rows = 3

see also

Clone this wiki locally