Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
My User_ID has several images and with this piece of code I receive the larges IMAGE_NR.
max({$<USER_ID = {'8638087'}> } IMAGE_NR)
Every image number is linked to an IMAGE_ID. How do I get this?
In words:
Give me IMAGE_ID where IMAGE_NR = max({$<USER_ID = {'8638087'}> } IMAGE_NR)
I tried following that doesn't work:
sum({$<max({<USER_ID={'8638087'}> } IMAGE_NR)>} IMAGE_ID)
Thank you for any thoughts!
You could try this expression a try:
only( {< IMAGE_NR = {$(=max({$<USER_ID = {'8638087'}> } IMAGE_NR))} >} IMAGE_ID)
You could try this expression a try:
only( {< IMAGE_NR = {$(=max({$<USER_ID = {'8638087'}> } IMAGE_NR))} >} IMAGE_ID)