Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dumb array and combobox question
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Dumb array and combobox question
Miscellaneous
Thread ID:
00449531
Message ID:
00449531
Views:
50
Hello all
I have 3 objects a multi-dimension array, a combo box and a text box

I have a multi-dimension array ( pa_dept[2,2] ) actually like 5,400
pa_dept[1,1] = 'A' == pa_dept[*,*] '*' field is not unique
pa_dept[2,1] = 'B' == pa_dept[*,*] '*' field is not unique
pa_dept[1,2] = 4600 == pa_dept[*,*] '*' field is not unique
pa_dept[2,2] = 4700 == pa_dept[*,*] '*' field is not unique

My combo box displays pa_dept[*,1] 'A', 'B'

I want my text box to display pa_dept[*,2] 4600, 47000

in the interactive change event of the combo box how do I say the textbox.value = the number relating to the combo box value

can I pull the array value from the combo box, I don't want to do a ascan() because nothing is unique

If I am unclear, just let me know I will try to explain in different words
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Next
Reply
Map
View

Click here to load this message in the networking platform