Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Field Properties equivalent VB6 VB.Net

Status
Not open for further replies.

lrfcbabe

Programmer
Jul 19, 2001
108
0
0
US
This sets the Description property for a field in Access using VB6.
Set prpfield = OutTD.Fields("Line")
Set prop = prpfield.CreateProperty("Description", dbText, "Application-Pipeline, EED field-line_id")
prpfield.Properties.Append prop

What would the equivalent be using VB.Net? Here I am setting Type, Name.

Col.Name = "ID" 'Field Attribute "Name"
Col.Type = ADOX.DataTypeEnum.adInteger 'Field "DataType"
 
You may get a better response in one of the Visual Basic fora, as this question does not pertain to MS Access.
Maybe try here? forum796 or here? forum222

Gluais faicilleach le cupan làn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top