Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

insert an item in to selection-list which is list-item-pairs

Status
Not open for further replies.

AhmetSinav

IS-IT--Management
Mar 28, 2006
25
TR
Open Edge 10.1A

i can use insert command with selection-list whiich attribute is a list-items. but i can't use insert command when i set the list-item-pairs attribute to selection-list.
my items
1,1
2,2
3,3
my insert item
4,4
i want to insert 4,4 item between 2,2 and 3,3.
Best Regards.
 
Assuming your list is data-type INTEGER,
Code:
YourList:INSERT("4",4,3).
should do the trick.

Cheers, Mike.
 
hi,
can we insert char items in stringlist.
for exp.
my items.
1,a
2,b
3,c
insert item
4,d
can we make this?
Best Regards.
 
Again, assuming your list is data-type INTEGER, you need your LIST-ITEM-PAIRS the other way round:
a,1
b,2
c,3

Now the code I posted earlier should work.

Cheers, Mike.
 
hi,
ok i understood. one of our datas must be an integer. so i made my program with browser.
Best Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top