Forum Discussion
Marsha_R
Moderator
Is the variable on the left also a string?
jw25
3 years agoOccasional Contributor
So I made some progress, or so i think.
function TrimArtNum (ChkArtNumTrim){
Log.Message(ChkArtNumTrim);
var counter = Project.Variables.Counter;
var ArtNum = Project.Variables.ArtNumChkT.Item(0, counter);
ArtNum = aqConvert.VarToStr(ChkArtNumTrim);
ArtNum = aqString.Remove(ChkArtNumTrim,0,15);
Log.Message("test " + ArtNum);
Project.Variables.ArtNumChkT.$set(" Project.Variables.ArtNumChkT", 0, 0, ArtNum);
}
I added a second variable (ArtNum). Artnum goes trough the code properly. What still remains though is saving this value to the cell. I figured this is where i'd use the set method I've been reading about. However, now I get another error:
Error: The object does not support this property or method. It referring to the %set line.
Related Content
- 4 years ago
- 2 years ago
Recent Discussions
- 4 days ago
- 4 days ago