Hi,
I changed the name of a column in a table DG and now get error messages, even when selecting the changed column in the dropdown, and in runtime when checking script affecting the DG; I'm 99% sure that the error is because I changed the name. Is there more to changing the name than just typing over the old name in the DG columns drop-down menu ?
The error is
An error has occurred in behaviour for the column template; Chunk error in object expression.
Any body got an insight into this situation ?
DataGrid change of column name
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10045
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: DataGrid change of column name
Did the error message tell you what line number triggered the error? What's on that line?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: DataGrid change of column name
Hi,
No, no line number was given.
I made a new datagrid and deleted the faulty one to get around the problem. That's an hour spent for no progress. I'll just be a bit more cautious with datagrids in future.
Thanks for your interest.
No, no line number was given.
I made a new datagrid and deleted the faulty one to get around the problem. That's an hour spent for no progress. I'll just be a bit more cautious with datagrids in future.
Thanks for your interest.
Re: DataGrid change of column name
Hi FourthWorld
The line number was 4331, which was an If statement that was exactly the same script that had been used earlier in the script, and the info
No Errors Occurred was showing.
I think I overcomplicated the script, and I've found a simpoler way that works.
The line number was 4331, which was an If statement that was exactly the same script that had been used earlier in the script, and the info
No Errors Occurred was showing.
I think I overcomplicated the script, and I've found a simpoler way that works.