The def. of the field was changed after the object

tompynationtompynation Member Posts: 398
Hi,

i recently changed the type of a field from biginteger to integer.
There is one form which uses the table as the source table.

When i try to run the form i receive the error:

The definition of the field Fabricatienr was changed after the object was saved.
Old type: BigInteger
New type:Integer

So i opened form in design mode, and save it again. it saved without any error but when i try to open i keep receiving this error.

How can i solve this?

Answers

  • garakgarak Member Posts: 3,263
    delete the field on form and insert it new. Then it will work
    Do you make it right, it works too!
  • tompynationtompynation Member Posts: 398
    i tried that also, but didnt worked either.

    Still getting the error
  • kinekine Member Posts: 12,562
    Than may be that there are more text boxes for the field...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • tompynationtompynation Member Posts: 398
    no, there arent other textboxes for this field...

    Also if i delete the field from the form... then try to open the form. i still get the error...

    What if you i use this field in some code in this form?
    Do you have to retype all?
  • Sandeep_PrajapatiSandeep_Prajapati Member Posts: 151
    What if i use this field in some code in this form?
    Do you have to retype all?

    NO
    Sandeep Prajapati
    Technical Consultant, MS Dynamics NAV
  • Franco_FestiFranco_Festi Member Posts: 19
    Hi,

    maybe there's something else in the form that uses the old field. Maybe some properties ?

    What if you try to write a new (maybe lighter) form ? what if you try to run the table straight from the object designer ?

    Franco
  • garakgarak Member Posts: 3,263
    Also possible, if you will not delete the field (because there are code behind it) export the form as Text and then import and compile it. Now your form runs ....

    Regards
    Do you make it right, it works too!
  • tompynationtompynation Member Posts: 398
    i was using this field in the code in one of the subforms...

    When i opened that code and saved it again, the form worked again
Sign In or Register to comment.