web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :

Find position of item in container in ax 2012

SANTOSH KUMAR SINGH Profile Picture SANTOSH KUMAR SINGH 1,224
To find position of item in container in ax 2012 you can get idea from below code. Confind method used to get position details of items for container.

 container c ;  
int i;
int j;
;
c=conPoke(c,1,"item1");
c=conPoke(c,2,"item2");
c=conPoke(c,3,"item3");
i = conFind(c, "item2");
j = conFind(c, "item3");
print "Position of 'item2' in container is " + int2Str(i);
print "Position of 'item4' in container is " + int2Str(j);
pause;


This was originally posted here.

Comments

*This post is locked for comments