cancel
Showing results for 
Search instead for 
Did you mean: 

oitem.GetbyKey()

Former Member
0 Kudos
196

I'm try to do oitem.GetbyKey() via VB.net 2005. The ItemCode has a space inside.

Ex: REV_MOTORINI PM

The code does not return error but oitem doesn't retrieve the object links to the master data with the name ItemCode

View Entire Topic
Former Member
0 Kudos

Hi Ercole,

you do your work in this way:

if (oItem.GetByKey("REV_MOTORINI PM) == true)

{

// perform your action.

}

hope it helps.