on 01-04-2007 4:33 PM
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
Hi Ercole,
you do your work in this way:
if (oItem.GetByKey("REV_MOTORINI PM) == true)
{
// perform your action.
}
hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ercole Conte,
You ghave to input the key that you wish to be searched within the oItem.GetbyKey(). Suppose if you would like to Search for REV_MOTORINI PM, then you would have to give it as oItem.GetbyKey("REV_MOTORINI PM") Provided that REV_MOTORINI PM is a value of the ItemCode of the table OITM.
Hope this helps,
Regards,
Siju Dasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.