hi all
i have this bit of code and i want the contactrole part while is a combo box to default to one of the items u can pick in the combo box. how can this be done
Code:
Dim dlg As New dlgSettings("BankContact", "BankID")
dlg.GridMain.Columns("EntityID").Visible = False
dlg.GridMain.Columns("FullName").Visible = False
dlg.Lookup("ContactRoleID", "ContactRole", "ContactRole")
dlg.GridMain.Columns("PhoneNumber").HeaderText = "Fax Number"
dlg.ColumnDefaultValue("Isdefault", True)
dlg.WindowState = FormWindowState.Maximized
dlg.ShowDialog()
dlg.Dispose()
i have this bit of code and i want the contactrole part while is a combo box to default to one of the items u can pick in the combo box. how can this be done
Code:
Dim dlg As New dlgSettings("BankContact", "BankID")
dlg.GridMain.Columns("EntityID").Visible = False
dlg.GridMain.Columns("FullName").Visible = False
dlg.Lookup("ContactRoleID", "ContactRole", "ContactRole")
dlg.GridMain.Columns("PhoneNumber").HeaderText = "Fax Number"
dlg.ColumnDefaultValue("Isdefault", True)
dlg.WindowState = FormWindowState.Maximized
dlg.ShowDialog()
dlg.Dispose()