Forum Discussion
On what line in that code does the error generate? Have you tried stepping through?
Also... what is "fn_resetVariable"?
"fn_resetVariable" - just remove data from table and keeping as empty table variable
Project.Variables.tbl_CopyToClipBoard.$set(tempCol,cl-1,tempValue);
from above line while inserting
tempCol = "release"
tempValue = "3.041S"
i m getting as error as member not found [exception]
- shankar_r6 years agoCommunity Hero
Just now remembered, i was also having same issue later i added additional parameter as "Item" and it worked fine.
Try changing as like below,
Project.Variables.tbl_CopyToClipBoard.$set("Item",tempCol,cl-1,tempValue);
- karthick76 years agoContributor
- tristaanogre6 years agoEsteemed Contributor
shankar_r wrote:
Just now remembered, i was also having same issue later i added additional parameter as "Item" and it worked fine.
Try changing as like below,
Project.Variables.tbl_CopyToClipBoard.$set("Item",tempCol,cl-1,tempValue);
I'm actually surprised that this is indicated as working. If the column name indicated in tempCol doesn't exist, this will still not work. Instead of "Member not found", you'll get an error about the table not including a column by the indicated name.
- shankar_r6 years agoCommunity Hero
tristaanogre, my understanding is that, karthick7 tried to change testrelease instead of release for his testing purpose. I believe column still exists in the table.
- tristaanogre6 years agoEsteemed Contributor
What it sounds like is that there is no column in your table tbl_CopyToClipBoard with a name of "release". Based upon your earlier post, the column name may actually be "testrelease". Please verify that fn_resetVariable is resetting the table properly (post the code for that if possible).
- tristaanogre6 years agoEsteemed Contributor
I just confirmed what I mentioned. The error as reported means that you're attempting to set the value of a column in the indicated row for which the column in question does not exist.
So... double check tbl_CopyToClipBoard after the fn_resetVariable is called. If it does not contain a "release" column, that's your problem.
Related Content
- 20 days agoStoplight
- 2 years agopstachelek
- 2 years agonormgean
Recent Discussions
- 9 hours agojstaehlin
- 2 days agoAivanitskiy