Referencing an Enumlist for Validiation

Is it possible to pull an enumlist from a specific record and use that as your data validation? For example, I have a list of buildings that are in a specific change request. The user can then create a change order from this request but I want to give them the ability to select only the buildings if not all buildings were included in the change order.

I tried a lookup command but it seems to be yielding an error.

lookup([_thisrow].[Related_CR],โ€œChange_Requests_PMOโ€,โ€œCR_UIDโ€,โ€œSitesโ€)

Error Message

Column Name โ€˜Sitesโ€™ in Schema โ€˜MasterChange_Orders_PMO_Schemaโ€™ of Column Type โ€˜EnumListโ€™ has an invalid data validation constraint โ€˜=lookup([_thisrow].[Related_CR],โ€œChange_Requests_PMOโ€,โ€œCR_UIDโ€,โ€œSitesโ€)โ€™. MORE INFOGO TO THE PROBLEM

Solved Solved
0 3 530
1 ACCEPTED SOLUTION

Reza2
New Member

Wrap your LOOKUP(โ€ฆ) expression in SPLIT() function; it should work.

View solution in original post

3 REPLIES 3

Reza2
New Member

Wrap your LOOKUP(โ€ฆ) expression in SPLIT() function; it should work.

So the โ€œSitesโ€ column was a text value like โ€œbuildingA,buildingB,buildingCโ€, and the split() function turns that into a list value?

Yes, correct.

Top Labels in this Space