.NET

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

 

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.