.NET

Reply
Mentor
mfernandes
Posts: 208
Registered: ‎08-21-2007
Message 11 of 11 (121 Views)

Re: step through selection set

04-23-2012 12:03 PM in reply to: mfernandes

OK....sigh!!!!

my DUM mistake.:smileyembarrassed:

I was pushing a string into a field that is numeric.

 

all the same  it seem that the following works better.

            rs.AddNew()
            rs.Fields.Item("ADMAPKEY").Value = 123
            rs.Fields.Item("LotKey").Value = "Hello"
            rs.Fields.Item("X1").Value = 123
            rs.Fields.Item("Y1").Value = 456
            rs.Fields.Item("TEXT_ANGLE").Value = 789
            rs.Fields.Item("TEXT_SIZE").Value = 234
            rs.Fields.Item("TEXTSTRING").Value = "Text"

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.