Hi Gayatri,

 

Make use of 'enum2str' method and u can modify your code as follows:

 

(inventtable.ItemId==enum2str(routeopr.ItemCode))





 

Thanks

 

Vikas Garg

 

  _____  

From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
gayatringayatri
Sent: Wednesday, February 15, 2006 5:46 PM
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] Type Casting in Axapta Urgent Please

 

Hi,

Actually I want to compare these two fields

inventtable.ItemId==routeopr.ItemCode

Inventtable.ItemId is of string type and routeopr.ItemCode is of 
baseenum type.

When i do compare it gives this error message

"Operand types are not compatible with the operator."

What do i have to do? How can i do type casting?

Help needed urgent please...

Kind Regards,

Gayatri.





Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 




SPONSORED LINKS 


Business
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+course&w1=Business+fin
ance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=Bus
iness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+sc
hools&c=6&s=185&.sig=I8jDsORmsaYn0BeqghcJ2w>  finance course 

Business
<http://groups.yahoo.com/gads?t=ms&k=Business+to+business+finance&w1=Busines
s+finance+course&w2=Business+to+business+finance&w3=Small+business+finance&w
4=Business+finance+consultant&w5=Business+finance+magazine&w6=Business+finan
ce+schools&c=6&s=185&.sig=fCzze7cxm1K7TVKkzAaOrA>  to business finance 

Small
<http://groups.yahoo.com/gads?t=ms&k=Small+business+finance&w1=Business+fina
nce+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=Busi
ness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+sch
ools&c=6&s=185&.sig=v9sWAno7Kz4WuL8Tadcdhw>  business finance 


Business
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+consultant&w1=Business
+finance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4
=Business+finance+consultant&w5=Business+finance+magazine&w6=Business+financ
e+schools&c=6&s=185&.sig=d1xwT3WL0E6XBf6cAV5BXA>  finance consultant 

Business
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+magazine&w1=Business+f
inance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=B
usiness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+
schools&c=6&s=185&.sig=qphRINaNuVm_6bwoQxgUmg>  finance magazine 

Business
<http://groups.yahoo.com/gads?t=ms&k=Business+finance+schools&w1=Business+fi
nance+course&w2=Business+to+business+finance&w3=Small+business+finance&w4=Bu
siness+finance+consultant&w5=Business+finance+magazine&w6=Business+finance+s
chools&c=6&s=185&.sig=1RfnhYZpV99RKWRZzSH4gA>  finance schools 

 

  _____  

YAHOO! GROUPS LINKS 

 

*        Visit your group "Axapta-Knowledge-Village
<http://groups.yahoo.com/group/Axapta-Knowledge-Village> " on the web.
  
*        To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
ribe> 
  
*        Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service. 

 

  _____  



[Non-text portions of this message have been removed]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to