Adding items to DComboBox/DMultiChoice from external file.

I’m having trouble adding items to a DComboBox from another file.

FILE A:
[lua]
DFrame = vgui.Create(‘DFrame’)
DFrame:SetSize(170, 300)
DFrame:SetPos(0, 0)
DFrame:SetTitle("")

DComboBox = vgui.Create(‘DComboBox’)
DComboBox:SetParent(DFrame)
DComboBox:SetSize(150, 250)
DComboBox:SetPos(10, 32)
DComboBox:EnableHorizontal(false)
DComboBox:EnableVerticalScrollbar(true)
DComboBox.OnMousePressed = function() end
DComboBox:AddItem(“Item1”)
DComboBox:AddItem(“Item2”)

[/lua]

FILE B:
[lua]
DComboBox:AddItem(“Item3”)
[/lua]

What i would like to happen, is when File B is included, it adds “Item3” to the ComboBox.
But it’s telling me that AddItem is a nil value.

EDIT: It seems i tend to have an epiphany right AFTER i make a post asking for assistance…

Just make the variable for the combobox global.