Hello all...

I have a combobox in Form1 and want to populate the
selected item in Form2... I tried coding it with an
array and it didn't work... can anyone tell me what
i did wrong??

Here's my code:
Form1 = frmComputerSales
Form2 = frmReceipt

Private Sub cmbHardDrive_Click()

strHardDrive = Array("", "10 GB", "20 GB", "30 GB", "40 GB")
frmReceipt.lblHardDrive.Caption = strHardDrive
(frmComputerSales.cmbHardDrive.ListIndex)
End Sub

Thanks,

Eena