PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WEBDEV 27 → Looper displaying data in different allignment
Looper displaying data in different allignment
Started by Andreas, Sep., 22 2022 10:20 AM - 2 replies
Posted on September, 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
Registered member
28 messages
Posted on September, 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
Registered member
640 messages
Popularité : +40 (42 votes)
Posted on September, 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