Shipment Lines cannot be updated by this form

Hi, In a Nav 4.01 database I’m experiencing the following problem: in form 131 (Posted Sales Shpt. Subform), I’ve added a field which I want to be editable. Instead of going through the trouble of making the whole form editable and change the Editable property of all fields but the new one, I just added the following code in the OnActivate and OnDeactivate triggers of my field: OnActivate: CurrForm.EDITABLE(TRUE); OnDeactivate: CurrForm.EDITABLE(FALSE); I’ve done this many times before, it always worked greatly. Now, it works halfway - if I changhe my field content and i move out of the with the arrow up or arrow down, it works: the change in accepted and retained; if I leave the field with tab or just clicking on an other field of the same line, when I leave the line, I get the message “Shipment Lines cannot be updated by this form” and the change is discharged. I’ve ascertained that it isn’t a permission issue. Any idea? Anna

Hello, I know you don’t want to do all fields but Nav 4.0 or 4.0 SP1. You just can’t work around. Its better to make form properties as EDITABLE=YES. Then create a function to F_Enable the fields to be editable or not. CURRFORM.DESCRIPTION.EDITABLE(FALSE); CURRFORM.LOCATION.EDITABLE(TRUE); Hide the columns that you know they will not need. More coding but it will suit your needs.

quote:

Hello, I know you don’t want to do all fields but Nav 4.0 or 4.0 SP1. You just can’t work around.
Originally posted by gfuentes - 2006 Mar 30 : 01:27:38

So you are telling me that a work around that worked nicely until the last 3.70 version was a bug in Microsoft mind and they fixed it? Really it looks like the MS guys have too much time on their hands! [}:)] Thank you. [:)] Anna