.NET

Reply
Mentor
mfernandes
Posts: 194
Registered: ‎08-21-2007
Message 11 of 11 (116 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"

 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community