Reference to member could not be resolved error

c_sledgec_sledge Member Posts: 10
Hey All,

I've been scouring the web for a resolution to an error I'm having.

I've added an option textbox to two different forms, and the option field to the associated tables. When running a card form and looking up one of the tables, I get a

"Reference to the member "XXXXXXXX" of the variable could not be resolved."

Any good place to start debugging this.

I'm still very new to NAV, so I'm not sure of my options.

Thanks!

Comments

  • SPost29SPost29 Member Posts: 148
    usually this means there is a control that is trying to reference a field in the DB.
    I've had it most with forms
    If in a test DB you modify a table with a new field and add the field to a form.
    If you import the form into another DB and forget to import the modified table
    you will get this error.
    Sometimes the error is actually the subform on the form not the main form that is throwing the error
    I get this often after upgrading too, something is forgotten, and a control is referencing a field and the field isn't in the table.

    Compiling the form etc sometimes helps reveal this.
    Hope this helps
    Steve
  • c_sledgec_sledge Member Posts: 10
    Looks like deleting the texbox and re-adding it on the sub-form did the trick.

    Thanks!
Sign In or Register to comment.