Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am trying to compatre a date in my aplication with a variable. The requirement is to have a user select a date and then compare it to the variable. I cannot get the syntax to compare the variable to my calendar.
The part in Bold is giving my syntax errors and I cannot get it to work - in spite of trying lots of combinations.
Any advise would be appreciated!
sum(
{<Calendrier.Date = {*},Calendrier.Annee = {*},Calendrier.Mois = {*}, SALES.Salesman_-={"Intercompany"},
Renew1.Renew.Renewal_Date = $(>= vLower_Date )
>} Renew1.Renew.Net_Price )
Try this
Sum({<Calendrier.Date = {"*"}, Renew1.Renew.Renewal_Date = {">=$(vLower_Date)"}>} Renew1.Renew.Net_Price)
Syntax isn't right.. may be try this
Sum({<Calendrier.Date = {*},
Calendrier.Annee = {*},
Calendrier.Mois = {*},
SALES.Salesman_ -= {"Intercompany"},
Renew1.Renew.Renewal_Date = {">=$(vLower_Date)"}>}
Renew1.Renew.Net_Price)
What is the error message that you get?
Errors in expression -so a syntax error
Would you be able to share a screenshot of your syntax editor? I mean is it possible that you have incorrectly typed one of your field names, like is the field name
SALES.Salesman_
or
SALES.Salesman
Hi i've reduced it down as much as possible. I'll try to make a simple app if you think that's better
Try this
Sum({<Calendrier.Date = {"*"}, Renew1.Renew.Renewal_Date = {">=$(vLower_Date)"}>} Renew1.Renew.Net_Price)
Thank you so much 🙂