I have an array declared as Public in a standard module and wish to
pass data from a combobox located on a form. The Combobox takes it's
data source using the Add method as follows:-
Sp_Cmb_Ac_Volt.Items.Add(110)
Sp_Cmb_Ac_Volt.Items.Add(120)
Sp_Cmb_Ac_Volt.Items.Add(230)
Sp_Cmb_Ac_Volt.Items.Add(240)
'Power Factor
Sp_Cmb_Pf.Items.Add(0.6)
Sp_Cmb_Pf.Items.Add(0.65)
Sp_Cmb_Pf.Items.Add(0.7)
Sp_Cmb_Pf.Items.Add(0.75)
Every time I try to get data back to the array I get problems. Can
anyone help?
Here's the Array declaration
Public Sub main()
Dim record_inf(0, 6) As String
record_inf(0, 0)
record_inf(0, 1)
record_inf(0, 2)
record_inf(0, 3)
record_inf(0, 4)