11-06-2008, 02:52 AM
I am using code such as the following (all variables and such are declared)
and I get no error. However, when I add the optional index,
I get an error (in design-time, not run-time)...
I have no clue why it does this, any help?
Code:
frmBla.cmbBlarghh.AddItem(Index & ": " & bala & " " & bala2)
and I get no error. However, when I add the optional index,
Code:
frmBla.cmbBlarghh.AddItem(Index & ": " & bala & " " & bala2, index)
I get an error (in design-time, not run-time)...
Code:
Compile error:
Expected: =
I have no clue why it does this, any help?