Forum Discussion
lrix
13 years agoOccasional Contributor
I can now narrow this down specifically to this field...
aqObject.CheckProperty(Aliases.PSWizard.wndTfrmWizard.Panel.Panel.PSFormX.GroupBox.ComboBox, "wItemList", cmpContains, Project.Variables.PayFrequency_02d.Iterator("PayDateRule"));
The loop works fine if I copy this out or put anything else in it.
Also, as part of a general tidy up of my scripts in respect of the Aliases, I can see that the loop-error behaves differently depending on how I specify the component. The following behaviour has been seen consistently (as opposed to the 'random' looping that I thought I was seeing yesterday).
aqObject.CheckProperty(Aliases.PSWizard.wndTfrmWizard.Panel.Panel.PSFormX.GroupBox.ComboBox,
"wItemList", cmpContains,
Project.Variables.PayFrequency_02d.Iterator("PayDateRule")); >> loops through records 1-15, 1-16, 1-16, 1-16...indefinitely.
aqObject.CheckProperty(Aliases.PSWizard.wndTfrmWizard.Panel.Panel.PSFormX.GroupBox.ComboBox,
"wItemList", cmpContains,
Project.Variables.PayFrequency_02d.Iterator("PayDateRule")); >> loops through records 1-19, 2-21, 2-21, 2-21...indefinitely
aqObject.CheckProperty(comboBox,
"wItemList", cmpContains,
Project.Variables.PayFrequency_02d.Iterator("PayDateRule")); >>
loops through records 1-20, 2-22, 2-22, 2-22...indefinitely
Does that help shed any light? Or is it a red-herring?
I know I could use other data sources but storing them locally in the Table Variables seemed ideal.
aqObject.CheckProperty(Aliases.PSWizard.wndTfrmWizard.Panel.Panel.PSFormX.GroupBox.ComboBox, "wItemList", cmpContains, Project.Variables.PayFrequency_02d.Iterator("PayDateRule"));
The loop works fine if I copy this out or put anything else in it.
Also, as part of a general tidy up of my scripts in respect of the Aliases, I can see that the loop-error behaves differently depending on how I specify the component. The following behaviour has been seen consistently (as opposed to the 'random' looping that I thought I was seeing yesterday).
aqObject.CheckProperty(Aliases.PSWizard.wndTfrmWizard.Panel.Panel.PSFormX.GroupBox.ComboBox,
"wItemList", cmpContains,
Project.Variables.PayFrequency_02d.Iterator("PayDateRule")); >> loops through records 1-15, 1-16, 1-16, 1-16...indefinitely.
aqObject.CheckProperty(Aliases.PSWizard.wndTfrmWizard.Panel.Panel.PSFormX.GroupBox.ComboBox,
"wItemList", cmpContains,
Project.Variables.PayFrequency_02d.Iterator("PayDateRule")); >> loops through records 1-19, 2-21, 2-21, 2-21...indefinitely
aqObject.CheckProperty(comboBox,
"wItemList", cmpContains,
Project.Variables.PayFrequency_02d.Iterator("PayDateRule")); >>
loops through records 1-20, 2-22, 2-22, 2-22...indefinitely
Does that help shed any light? Or is it a red-herring?
I know I could use other data sources but storing them locally in the Table Variables seemed ideal.
Related Content
- 9 months agoLuukdb
- 3 years agomsalvador
- 3 years agoUConnAnnMarie
Recent Discussions
- 14 hours agodhundley