T
thequietDOMINO
Here's the code that populates the comboboxes:
Set rst = db.OpenRecordset(projectScriptTable)
With rst
.MoveFirst
Do While Not .EOF
Set olPages = myItem.GetInspector.ModifiedFormPages
Set Ctrl =
olPages("Defects").Controls("TestScriptComboBox")
Set Ctrl2 =
olPages("Execution").Controls("TestScriptComboBox2")
Ctrl.AddItem ![ScriptName]
Ctrl2.AddItem ![ScriptName]
.MoveNext
Loop
End With
Set rst = db.OpenRecordset(projectScriptTable)
With rst
.MoveFirst
Do While Not .EOF
Set olPages = myItem.GetInspector.ModifiedFormPages
Set Ctrl =
olPages("Defects").Controls("TestScriptComboBox")
Set Ctrl2 =
olPages("Execution").Controls("TestScriptComboBox2")
Ctrl.AddItem ![ScriptName]
Ctrl2.AddItem ![ScriptName]
.MoveNext
Loop
End With