Hi all,
I've got quite a problem in my project. I'm getting data from Excel file to a collection - colExcelErrors.
--- code for getting data to colExcelErrors
ClearCollect(
colExcelErrors,
AddColumns(
Filter(
Query1,
Country = Country
),
DisplayProcess,
Proces,
DisplayError,
Error
)
)
---
The columns are:
Enabled - boolean
Active_since - DateTime
Active_until - Datetime
Error - String
Error_ID - Number
Proces - String
Weight - Decimal
additionally I'm adding two columns (needed for logic outside of the problem) :
DisplayError - String - the same value as Error
DisplayProcess - String - the same value as Proces
Then I'm using Form and one of the DataCards has a ComboBox with 'Items' property set to the mentioned collection. DisplayFields is set to "DisplayError".
When I'm checking the collection in the Variables tab it has got all the columns that I need but when I check the record selected in the ComboBox it only has these columns:
Active_since
Active_until
DisplayError
Proces
Weight
The Weird part is that it doesn't have Error but has DisplayError, it's the other way around for Proces. It is always selecting these columns - I've tried to create a sub collection for filtering and nothing changed.
I will be grateful for any ideas :)
Best Regards,
Mateusz