Hi,
I would like to get the number of records in the list(#PRIM_LIST) displayed on the web page. Is there any way?
(I'm looking for a method other than counting one by one with "Selectlist".)
Thanks in advance,
Rieko
V15 VL-Web: How to get the number of records in the list(#PRIM_LIST).
-
Rieko Saitoh
- Posts: 58
- Joined: Sat Apr 30, 2016 11:46 am
Re: V15 VL-Web: How to get the number of records in the list(#PRIM_LIST).
Hi
Yes, use
like in this example:
Yes, use
Code: Select all
#List.Items.ItemCountCode: Select all
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>) Height(488) Width(752)
Define_Com Class(#PRIM_LIST) Name(#List) Displayposition(1) Height(400) Left(0) Parent(#COM_OWNER) Tabposition(1) Top(0) Width(800) Rowlines(False) Columnlines(False) Rowheight(32)
Define_Com Class(#PRIM_LIST.String) Name(#ListColumn1) Columnwidth(140) Displayposition(1) Parent(#List) Sortonclick(True) Source(#EMPNO)
Evtroutine Handling(#Com_owner.Initialize)
Inz_List Named(#List) Num_Entrys(314)
#sys_web.alert Caption(#List.Items.ItemCount.asstring)
Endroutine
End_Com-
Rieko Saitoh
- Posts: 58
- Joined: Sat Apr 30, 2016 11:46 am
Re: V15 VL-Web: How to get the number of records in the list(#PRIM_LIST).
Hi Dino,
Thank you for your reply.
I was able to achieve it by the method you taught me.
Thank you for your kind support!!
Best regards,
Rieko Saitoh
Thank you for your reply.
I was able to achieve it by the method you taught me.
Thank you for your kind support!!
Best regards,
Rieko Saitoh