J
Jim Shaffer
Perhaps I have the wrong construct, or misunderstand arrays in vb (2003)....
I've loaded a two-dimensional array (168 by 28) into memory as AcctArray.
{Dim AcctArray (500,28) as string...}
The AcctArray is loaded from a Quickbooks table, so there's no intrinsic
dataset to assign as datasource....
I want to have a combo table (or list table or whatever), currently named
cbAccounts, that can scroll through and maybe select items in the array. I
don't want to display all elements, just columns 1,2,6, and 13...
How do I construct this? A combo box is supposed to have as its datasource
an "array", but I can't seem to accomplish it. I can do
cbAccounts.Items.Add(AcctArray(j,1) & " " & AcctArray(j,2) & " " &
Acctarray(j,6) & " " & AcctArray(j,13))
but that doesn't accomplish my objectives...
Can someone give me a nudge?
Thanx in advance
I've loaded a two-dimensional array (168 by 28) into memory as AcctArray.
{Dim AcctArray (500,28) as string...}
The AcctArray is loaded from a Quickbooks table, so there's no intrinsic
dataset to assign as datasource....
I want to have a combo table (or list table or whatever), currently named
cbAccounts, that can scroll through and maybe select items in the array. I
don't want to display all elements, just columns 1,2,6, and 13...
How do I construct this? A combo box is supposed to have as its datasource
an "array", but I can't seem to accomplish it. I can do
cbAccounts.Items.Add(AcctArray(j,1) & " " & AcctArray(j,2) & " " &
Acctarray(j,6) & " " & AcctArray(j,13))
but that doesn't accomplish my objectives...
Can someone give me a nudge?
Thanx in advance