Sql Text Fields


Author
Message
Nikki Chase
Nikki Chase
StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)
Group: Forum Members
Posts: 13, Visits: 18
I have imported a few Foxpro tables to Sql and Sql converts the memo Fields to SQL Text type.

 If I add a new record and then undo I get an Index out of range exception. however if I close the form and do not save changes everything is happy.

Public Property [cucomment]() As System.String

Get

Return CType(Me.CurrentRow.Item("cucomment"), System.String) --> Exception here

End Get

Set(ByVal value As System.String)

Me.CurrentRow.Item("cucomment") = value

End Set

End Property


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search