Home » Developer & Programmer » Forms » How to handle Tlist (Form 6i)
How to handle Tlist [message #464289] Wed, 07 July 2010 04:40 Go to next message
mm_kanish05
Messages: 493
Registered: January 2007
Location: Chennai
Senior Member

Hi,
I handle newly the Tlist.

I have Tlist Which is generated on runtime by the following code

Declare 
   cursor C1 is  select 'A' col
              from table
            union
             select 'B' col
              from table
            union
             select 'C' col
              from table
   Begin
        Clear_list('samlst');
        For i in c1 loop
            add_list_element('samlst',1,i.col,i.col)
        End loop;



The list have 3 element now

But when i try get the elemet count in tlist using Get_list_element_count. i am not getting anyting.

What is the problem? Where i am missing and what?

Kanish
Re: How to handle Tlist [message #465393 is a reply to message #464289] Wed, 14 July 2010 01:30 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you solved your problem?

Look at the example for 'add_list_element'. Perhaps you should be using 'Delete_List_Element' instead of 'Clear_list'.

David
Previous Topic: host command
Next Topic: How to go through all items in the form ???
Goto Forum:
  


Current Time: Fri Sep 20 06:56:12 CDT 2024