Formula Problem
let myFrom := 'From Date';
let myTo := 'To Date';
select Documentos where FechaR1 <= myFrom or FechaR1 >= myTo and 'Horas Ganadas Real' = 0
I try to use these Formula but not working I need the Ganado REAL is empty. With null not working too
That means the Documents between From Date to Fecha Corte the FechaR1 is not Issue.
The other problem How can I do that for all FechaR1 to FechasR5
Thanks.
17 replies
-
let myFrom := 'From Date';
let myTo := 'To Date';
select Documentos where FechaR1 <= myFrom or FechaR1 >= myTo and 'Ganado Real' = 0not work 'Ganado Real' is a Formula
-
RoSoft_Steven Rooryck
let myFrom := 'Desde Fecha';
let myTo := 'Fecha Corte';
select Documentos where FechaR2 >= myFrom or FechaR2 <= myTo and text('Ganado REAL') = nullNot work
-
For the community's interest, I've placed a choice field (Fecha) above the view (No Emitidos) where the selection can be done which column to filter.
Formula in view:
let myFrom := 'Desde Fecha'; let myTo := 'Fecha Corte'; switch number(Fecha) do case 1: (select Documentos where 'Ganado REAL' = null or FechaR1 >= myFrom and FechaR1 <= myTo) case 2: (select Documentos where 'Ganado REAL' = null or FechaR2 >= myFrom and FechaR2 <= myTo) case 3: (select Documentos where 'Ganado REAL' = null or FechaR3 >= myFrom and FechaR3 <= myTo) case 4: (select Documentos where 'Ganado REAL' = null or FechaR4 >= myFrom and FechaR4 <= myTo) case 5: (select Documentos where 'Ganado REAL' = null or FechaR5 >= myFrom and FechaR5 <= myTo) end
Steven
-
RoSoft_Steven Rooryck
The Formula continue give me problems.
(select Documentos where 'Ganado REAL' = null or FechaR1 >= myFrom and FechaR1 <= myTo)
Example in the range of Dates between FechaR1 >= and FechaR1<= there are only 8 documents without 'Ganado Real' 75 have 'Ganado Real' and don't display the information correct.
The choice is correct
I thinks the problem is with 'Ganado Real' = null is the problems.
-
RoSoft_Steven Rooryck Yes work, is ok but I think in display only the empty
But is ok Steven
Content aside
- Status Answered
- 2 yrs agoLast active
- 17Replies
- 146Views
-
3
Following