Hi all, this might be a very newbie question but I appreciate any insight.
Basically I have a spot here where I am setting a spot by text
set FieldElement = autECLSession.autECLPS.autECLFieldList.FindFieldByText (Array(0))
autECLSession.autECLPS.SetCursorPos FieldElement.startrow, FieldElement.startcol
This works fine and I am able to do what I intend with this but later down the code I attempt to set it again, I have even tried a new variable with Fieldelement1 with no luck.
set FieldElement1 = autECLSession.autECLPS.autECLFieldList.FindFieldByText (Array(1))
autECLSession.autECLPS.SetCursorPos FieldElement1.startrow, FieldElement1.startcol
The text exists and everything but everytime I get the following error "Object variable not set"
Is there something I can do to make this work? Sorry for the newb question. Again any insight is always appreciated!
Basically I have a spot here where I am setting a spot by text
set FieldElement = autECLSession.autECLPS.autECLFieldList.FindFieldByText (Array(0))
autECLSession.autECLPS.SetCursorPos FieldElement.startrow, FieldElement.startcol
This works fine and I am able to do what I intend with this but later down the code I attempt to set it again, I have even tried a new variable with Fieldelement1 with no luck.
set FieldElement1 = autECLSession.autECLPS.autECLFieldList.FindFieldByText (Array(1))
autECLSession.autECLPS.SetCursorPos FieldElement1.startrow, FieldElement1.startcol
The text exists and everything but everytime I get the following error "Object variable not set"
Is there something I can do to make this work? Sorry for the newb question. Again any insight is always appreciated!