Forum Discussion

wwii's avatar
wwii
Frequent Visitor
9 years ago

copied code from a view, then recreated the view, then errors

 

Data source should be the same, and I keep all the "advanced editor" codes. 

When I click "Fix This", the window will vanish. 

Can anyone tell me why this happens, and what is the way to fix it? 

 

Thank you.

 

 

 

 

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    wwii I think I just encountered this same thing today. It would appear that the field names are tied directly to the table and there is an underlying reference included. What I mean, is that just because the table name is the same, doesn't mean the fields in the visuals will automatically know you put a new replacement table.

    As an example: You have a table 'Sales', but it most likely is 'Sales1' and when you delete the first table and re-create the view it is 'Sales2'... so all the fields in your visuals will break because you deleted the 'Sales1' table.

    This is purely just observed behaviour when I replaced a table today, and some educated guessing as to why all the visuals fail to work.

    • wwii's avatar
      wwii
      Frequent Visitor

      Thanks. That Make sense. 

      If so, do I have to redo or re-drag every columns into the existed template, after I redirect my data souce to a new view?

       

      wy

      • Anonymous's avatar
        Anonymous
        Not applicable

        wwii Unfortunetely that is what I had to do. So yes.