Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am storing a date in a variable vNdebut (works)
trying to go through a table (Ventes_Produits) to search a field corresponding the variable vNdebut.
I am not able to retrive the value. can any help me to find the error i am doing.
Thanks for your help
Djega
Would you be able to share your application to look at it
Try '$(vNdebut)' in the expression (quotes included) instead of $(=vNdebut).
Thanks Sunny & Jonathan,
The file is huge and I cannot send it or share, because it contains financial data.Sorry for that,
When clicking a select (calendar); I store the date content in a variable, (numeric format)
I want to pick the value of another field in the table.
The sentence i use is
=pick(wildmatch('FILTER_JOUR_ID',($(vNdebut)),'CN1DEBUT')
It is not working
The other question was related to date, I converted the date into numeric, it worked.
Thanks for your help
If your application is huge and may contain confidential data, you should nevertheless be able to create a small sample QVW with sample mock up data that shows what you are trying to achieve (as far as I see, you are operating on a single tables with dates, I believe you should be able to create a sample table easily).
There might be different issues you are coping with:
- It's not clear how your data model looks like and in which fields you are selecting and you are using in your expressions (e.g. FILTER_JOUR_ID vs. JOUR_ID)
Maybe your selections is already limiting the record set in a following expression? Then try a set expression to ignore your selection.
- Maybe your expression is not returning an unambiguous value, in general you should consider using aggregation functions in expressions:
Another method to look up the value of another field could be like
= Only({<JOUR_ID = {'$(=Date(vNdebut))'}>} CN1DEBUT)
or
=MinString({<JOUR_ID = {'$(=Date(vNdebut))'}>} CN1DEBUT)
But double check if the field names are correct and the date formats may need to match:
Thanks, it worked, You are all great by taking time to help others
If your request is resolved, then please consider closing this thread by marking helpful and/or correct answers.