PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → Looper displaying data in different allignment
Looper displaying data in different allignment
Iniciado por Andreas, set., 22 2022 10:20 AM - 2 respostas
Publicado em setembro, 22 2022 - 10:20 AM
Hello,

i am trying to create a looper-Control with data coming from an query in a Webdev-Page.
Now i what the data displayed in different alignment.

Data created by the logged on user should be displayed on the right.
Data created by another user should be displayed on the left.

Is this possible to realise?

Thanks for your replies.
Best Regards
Andreas
Membro registado
37 mensagems
Publicado em setembro, 24 2022 - 12:36 AM
Hi Andrea

I think that you may need two loopers one on the left and the other one on the right, and two separate queries. One query for the current logged user and the other one for the other user, perhaps also pointing to the user ID too

The one on the right pointing to a query that will extract the data based on the current logged user's ID
And the one on the left pointing to a query that will extract the data based on whichever current user's ID you want to display

Hope this helps

Regards,

--
Best regards,

Carlos
Membro registado
797 mensagems
Popularité : +40 (42 votes)
Publicado em setembro, 26 2022 - 12:38 PM
Hi. The solution may be to use a looper with internal windows for the content. One internal window for the content on the right and another for the left, selecting one or the other when loading the looper as needed.

Rubén