Forum Discussion

Jongo's avatar
Jongo
New Member
9 years ago
Solved

Dynamic column selection

Hi   I'm trying to sum up reservations from sub locations into geographical locations. I always end up with errors when updating the model, because one of the sub locations in the model doesn't ha...
  • MarcelBeug's avatar
    MarcelBeug
    9 years ago

    It's partly my fault... :smileyembarrassed:

     

    My fault: Record.ReorderFields will also select all other fields in your table.

    Your fault: you omitted the Record. part of Record.ReorderFields.

     

    Solution: use Record.SelectFields instead of Record.ReorderFields.

    Simply adjust all your ReorderFields to Record.SelectFields and keep the rest as is.