This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Visual Basic Assign Identity

jsnosal - Wednesday, October 24, 2012 5:33 PM:

I'm trying to write an identity through a method and I'm having issues with my code. Could you please tell me what I'm doing wrong? Thank you

Me.setproperty("quality_assurance1", getProperty("where"="[Identity].name='Quality Engineering'"))

 



vasant - Thursday, October 25, 2012 1:16 AM:

Hi,

Please write the code like:

Dim inn As Innovator = Me.newInnovator()
Dim Identity as Item= inn.getItemByKeyedName("Identity","Quality Engineering")
Me.setproperty("quality_assurance1", Identity.getProperty("id"))

Hope it may helps you..

Thanks & Regards,

Vasant Padhiyar