Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Bonjour
j ai une condition de date dans un where qui ne marche pas j'ai essayé plein de solutions rien n'aboutit la voici
where Date(Date#(CAPA_MOIS,'dd/mm/yyyy'))=Date(Date#('$(vMoisReport_Suivant)','dd/mm/yyyy'))
ma dernière tentative est sous cette forme avez vous des idées ?
Hi @LEBRETON35
Probably or the field CAPA_MOIS or the variable vMoisReport_Suivant doesn't have the format dd/mm/yyyy
When you perform an operation like this Date(Date#(CAPA_MOIS,)), the format related to Date# needs to be the current format of the field, and the one associated to Date is the one you want it to be transformed.
For example, if I have a date like 2026-01-01 and I want it to transform to 01/01/2026 I need to write it like this:
Date(Date#(CAPA_MOIS,'yyyy-mm-dd'),'dd/mm/yyyy')
Hence, my recommendation is to review this. If the formats are correct, could you, please, provide more information like a data sample example, how the variable vMoisReport_Suivant is created... etc?
Kind Regards
Daniel
bonjour
merci pour votre retour mais j'ai déjà testé ce type de solution et rien n'y fait
j'ai du créer une autre table temporaire ou ma condition a fonctionné pourquoi sur celle ci plus que l'autre c'est un grand mystère !! (solution palliative)
bien cordialement
Yann