Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 8 Jahren, 3 Monaten
Letzter Beitrag:
vor 8 Jahren, 3 Monaten
Beteiligte Autoren:
Al, Piet van Zanten, Wielyanto.pcs.crosspost

Example for looper with variable columns

Startbeitrag von Wielyanto.pcs.crosspost am 10.06.2009 09:28

Hi

does anyone have an example for looper with variable columns that can be shared?
or if anyone know how to use a looper inside a looper that would be the best.

I have a situation here where, I need to show multiple employee leave record for the past few months.

following is the sample of the design that I want to achieve.


Name: Employee 1
Address: George Rd Ave 9
Telephone: 12345678

Month | Paid Leave | Unpaid Leave | MC
2009/06 | 1 | 2 | 3
2009/05 | 2 | 0 | 0
2009/04 | 0 | 0 | 0


Name: Employee 2
Address: Newton Ave 3
Telephone: 23456789

Month | Paid Leave | Unpaid Leave | MC
2009/06 | 2 | 1 | 1
2009/05 | 1 | 0 | 0
2009/04 | 1 | 0 | 2

* note that I used the separator | because I can not use space or tab in here for the alignment
* the employee data that needs to be shown depends on the user search parameter
* the month needed to be shown depends on the user input

Any suggestion of how this could be achieved, would be deeply appreciated

Regards,
Wielyanto

Message forwarded from pcsoft.us.windev

Antworten:

Hi Wielyanto,

Both loopers and tables (WD14) can have headers and footers.
A very simple solution is to put the employee name and address in the header.

Regards,
Piet

von Piet van Zanten - am 10.06.2009 09:39
Hello Wielyanto

In the list of other sites in the header of this forum is a link to Ken Knights Windev Tutorial site. It has a calender example that uses loopers and may help you.

Regards
Al

von Al - am 10.06.2009 11:17
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.