Hi JR,
>Question is, what is the best way to grab the value typed by the user and adding it to the array if the combo box.
I would put this code in the LastFocus() or Valid() (ThisForm.aItems is the controlsource:
if ascan(thisform.aItems, this.displayvalue) = 0
dimension thisform.aItems[alen(thisform.aItems) + 1]
thisform.aItems[alen(thisform.aItems)] = this.displayvalue
endif
this.requery()
>This must work without knowing the array.
What do you mean by this? The name of the array, or its contents?