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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Optional Field on VB.NET

Status
Not open for further replies.

aan09

Programmer
Mar 21, 2018
29
ID
Hi All,

I'm creating program to Add Vendor from VB.NET, The problem is in my vendor master need optional field. I have not made any VB.NET that use optional field before, can anyone help me how to do it?

Currently I use the this script :
APVENDOR1detail.Fields.FieldByName("VALIFTEXT").SetValue("1000000", False)
APVENDOR1detail.Update()

but from script above, I only updated the last Optional field (Currently I have 4 optional in Vendor Master), I think I need to browse the optional field first but I don't know how to do that, please help.
 
Done,

thanks before but I already get the answer, I need to put "False" in the read function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top