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

AccpacViewList

Status
Not open for further replies.

oxie18

Programmer
Feb 17, 2015
40
CA
Hi everyone,

In an AccpacViewList, I noticed that if the fields were declared as primary keys in the table/view, they seem to be INEDITABLE even if you set them as editable in the custom property. Is there a way to make it editable? I tried to set them to editable in code but it won't work.

avlXBMAPV.SetEditable avlXBMAPV.ColumnIndexByField("CCRVDCODE"), True
avlXBMAPV.SetEditable avlXBMAPV.ColumnIndexByField("SAGEVDCODE"), True
MsgBox avlXBMAPV.GetActiveColumn & ": " & avlXBMAPV.IsColumnEditable(avlXBMAPV.GetActiveColumn)

Thanks in advance for any help.
 
No, primary keys are not editable.

Sage 300 Certified Consultant
 
Thanks ettienne for the confirmation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top