I have tried this code in queries. "Send" should only be showed if the current day is a friday, however I can´t get it to work:
IIf((Date()+1=DateAdd("d";12;[Baseline]![Baseline dato]) And Day(Date())="vbFriday" And [Person]![Status]="Participate") OR
(Date()+2=DateAdd("d";12;[Baseline]![Baseline dato]) And Day(Date())="vbFriday" And [Person]![Status]="Participate");"Send";"")
If I remove the red part it works, but I will like it only to work on Fridays.
IIf((Date()+1=DateAdd("d";12;[Baseline]![Baseline dato]) And Day(Date())="vbFriday" And [Person]![Status]="Participate") OR
(Date()+2=DateAdd("d";12;[Baseline]![Baseline dato]) And Day(Date())="vbFriday" And [Person]![Status]="Participate");"Send";"")
If I remove the red part it works, but I will like it only to work on Fridays.