My app has 2 collections:
TodosPeriodos with the months of 2020, like "Jan-2020" to "Dez-2020"
PeriodosExistentes, that it reads from the datasource, with the already existing months:
Now, I have this Form with a dropdown that works perfectly when the AllowedValues Property of the DataCard is hard-coded like:
But when Allowed Values changes to the formula below:
The drop-down does what I want: it shows only the months NOT in the PeriodosExistentes Collection:
But it returns the Error:
Name isn't valid. This identifier isn't recognized
I could live with the error, although I don't understand it.
The main problem is that now I can't submit the form. I get another error:
The requested operation is invalid. Server response: a value must be supplied to the item.
Can anyone help?
Solved! Go to Solution.
Try:
DataCardValue2.Selected.Periodo
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
The drop-down does what I want: it shows only the months NOT in the PeriodosExistentes Collection:
This is a cotinuation of what you posted earlier.
edited
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hello again @eka24
Yes, the data card does what it is supposed to do: it shows only the non-used-before months.
I've deleted it and inserted it again.
And again I have exactly the same errors as described:
Name isn't valid
And the form is not submitted.
The formula should be on the Items of Datacardvalue2 not where you have placed it
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Here we go again: I get exactly the same errors, it doesn't change anything!
Base on the last reply, select the Periodo_datacard2, do you have any other formula on the Periodo_datacard2?
There should not be any formula there
Please recheck.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
This is what I have:
Try:
DataCardValue2.Selected.Periodo
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
I tried with DataCardValue2.Selected.MonthYear and it finally worked!
Thanks a lot for your help!
User | Count |
---|---|
229 | |
100 | |
97 | |
56 | |
33 |
User | Count |
---|---|
280 | |
110 | |
109 | |
63 | |
62 |