Hi,
I am working with the order entry screen, and I wanted to make the Customer Entry like the Type (how you type O and Order comes up)
So I change the customer field to look like this.
1st question, Does it automatically grab the customers from the cicmpy database?
If it did I couldn't figure it out so I went to this screen and checked allow additional input... I left the screen and went back to it but it didn't save the check mark. SO I had to add a dummy variable named ALL. I then in the flex code did
set the datasource
sql = select cmp_name from cicmpy where cmp_type = 'C'
loop through the records
customer.add(rs("cmp_name"))
next
However when I would test it twice the items wouldn't clear, and there isn't a customer.items.clear.
SO I guess the second question is how do you clear a combobox in flex?
THe third question is how do you get it to automatically select when you type like the Type does (type O and Order comes Up)?
Basically I am trying to get the customer to be an autocomplete textbox so when they type it automatically fills in the ones that are similar
Thanks
I am working with the order entry screen, and I wanted to make the Customer Entry like the Type (how you type O and Order comes up)
So I change the customer field to look like this.
1st question, Does it automatically grab the customers from the cicmpy database?
If it did I couldn't figure it out so I went to this screen and checked allow additional input... I left the screen and went back to it but it didn't save the check mark. SO I had to add a dummy variable named ALL. I then in the flex code did
set the datasource
sql = select cmp_name from cicmpy where cmp_type = 'C'
loop through the records
customer.add(rs("cmp_name"))
next
However when I would test it twice the items wouldn't clear, and there isn't a customer.items.clear.
SO I guess the second question is how do you clear a combobox in flex?
THe third question is how do you get it to automatically select when you type like the Type does (type O and Order comes Up)?
Basically I am trying to get the customer to be an autocomplete textbox so when they type it automatically fills in the ones that are similar
Thanks