Hi,
MOBILE WORKING
DESKTOP NOT WORKING
Solved! Go to Solution.
Maybe it didn't like the combination where the table contained special character.
If you are using the new desktop mode, are you using the Desktop behavior mode as "Edit in place" or "Open a form"? You can find that option from that table's system generated Edit action.
I use "Open a form".
It resolved by changing the IN() statement, not sure why on desktop it didn't like using my slice and prefers the original table...
I changed from
Report Remarks | Active[ID])
to
Report Remarks[ID])
In the following, then both desktop and mobile works now, maybe you know why desktop didn't like slice.
OR(COUNT(SELECT(Report Remarks | Active Students[ID],AND([_THISROW].[Student ID] = [Student ID],[_THISROW].[Month] = [Month]))) < 1,IN([_THISROW].[ID], Report Remarks[ID]))
It checks if there are any related report remark rows on the current student ID that have the same month as the current rows selected date month.
The IN() statement i used to exclude the current rows ID so that existing rows can be edited and saved without the valid if blocking the save.. Basically enforces check when adding new rows only...
Maybe it didn't like the combination where the table contained special character.
@AleksiAlkio Thanks, that's very possible... The Select() statement seems to be okay with it but not the IN() statement. The client has many slices using the pipe symbol in various expressions without issues.
I will make a copy of clients app and test again using a slice without the special character.
User | Count |
---|---|
17 | |
12 | |
5 | |
5 | |
5 |