Hello!
I am working with a DG Table and while I was debugging it, something that initially was working is now broken, and has left me staring blankly at the screen with nowhere to turn.
When my code reaches the end of the FillInData handler, it throws an error and stops. However, there is no error in the error dialog box, just an answer dialog that says
"an error has occurred in behavior for the column template:
Chunk: no such object"
[OK] [Edit Script]
When I click "Edit Script", it brings me to the behavior script for one of the columns and highlights the first line of code in the handler, which has absolutely no errors.
first line: "switch item 1 of pData"
... to bolster my case, it was working perfectly in the past; I was debugging a different handler entirely.
So I stepped through the FillInData handler line by line, and, as I mentioned, the whole handler is fine and executes, but once the "end FillInData" line executes, the aforementioned error answer box pops up.
I don't know how to interpret the error dialog or where my problem lies. I just fixed a bug in a different handler, so for all I know, this was supposed to work perfectly now that I squashed the other bug.
Any insight on how I can interpret or react to this message would be greatly appreciated!
Kind regards,
Phil E.
Edit: For the record, I have copy/pasted everything (row template, behavior scripts) into a new DG Table just in case something corrupted, and I am having exactly the same results.
Data Grid Table Trouble
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Data Grid Table Trouble
Are you sure pData isn't empty from time to time?
It'll be helpful if you send the behavior script and some samples of data from this column (going to pData).
Marek
It'll be helpful if you send the behavior script and some samples of data from this column (going to pData).
Marek
Re: Data Grid Table Trouble
Evidently, I had made some code obsolete, and it was causing the script to get hung up. Took a bit to find, since LiveCode didn't throw a particularly traceable error.
Glad to be making progress again and not staring blankly at a screen!
Thanks for the help
Phil E.
Glad to be making progress again and not staring blankly at a screen!
Thanks for the help
Phil E.