PSUIVERSON
Technical User
I have written some applications in VB supported by Access. I load two combo boxes -
1) Account Name
2) Account Number
The list is a recordset of 34,000+ records. So what I currently have occurring on load is the following:
Do Until rst.EOF
If IsNull(rst!desc) = False Then
Combo1.AddItem rst!FUND & "-" & rst!AREA & "-" & rst!ORGN
Combo2.AddItem rst!desc
End If
rst.MoveNext
Loop
* My question is how can I do this faster? My app loads in like 15 seconds. Is this just unavoidable? Am I doing it bulky? Any other suggestions? Catching in a control array seems even worse. Any help would be great.
Thanks
1) Account Name
2) Account Number
The list is a recordset of 34,000+ records. So what I currently have occurring on load is the following:
Do Until rst.EOF
If IsNull(rst!desc) = False Then
Combo1.AddItem rst!FUND & "-" & rst!AREA & "-" & rst!ORGN
Combo2.AddItem rst!desc
End If
rst.MoveNext
Loop
* My question is how can I do this faster? My app loads in like 15 seconds. Is this just unavoidable? Am I doing it bulky? Any other suggestions? Catching in a control array seems even worse. Any help would be great.
Thanks