Hi,
static void AlfasithCode2CheckB4Insert(Args _args)
{
container contain;
str 30 Name;
int i;
ContanerTable ContanerTableLoc;
contain = ["Ram","Sam","Mam","Kamal","Ram","Raja","Rani","Kamal"];
for(i = 1; i <= conLen(contain) ;i++)
{
name = conPeek(contain,i);
select ContanerTableLoc where ContanerTableLoc.Names == name;
if(!ContanerTableLoc)
{
ContanerTableLoc.Names = Name;
ContanerTableLoc.insert();
}
}
info("Process completed...");
}
Regards,
static void AlfasithCode2CheckB4Insert(Args _args)
{
container contain;
str 30 Name;
int i;
ContanerTable ContanerTableLoc;
contain = ["Ram","Sam","Mam","Kamal","Ram","Raja","Rani","Kamal"];
for(i = 1; i <= conLen(contain) ;i++)
{
name = conPeek(contain,i);
select ContanerTableLoc where ContanerTableLoc.Names == name;
if(!ContanerTableLoc)
{
ContanerTableLoc.Names = Name;
ContanerTableLoc.insert();
}
}
info("Process completed...");
}
Regards,
No comments:
Post a Comment