Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box again......
Message
From
19/11/1996 12:31:37
 
 
To
19/11/1996 09:30:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00012708
Message ID:
00012775
Views:
40
>Generally if you have RowSource- alias(field) you don't need to REFRESH. Use REQUERY if source changed. If you just skip a record, you could refresh in code: cmb1.value=YourTable.field. It always works fine so we don't need in DisplayValue or Refresh.
>If RowSource is Array you must refresh in code. Any time you want to jump programmatically from one array element to another you issue: cmb2.value=YourArray[nArray]

Ed,
One combo is fields and it works great. The other is an array filled by a select triggered by what the user selects in the first combo box. The problem is when I skip to the next record and come back my array combo box is not displaying a value. I tried several ideas from books and MS KB source but to no avail. I'm not sure I can tie the value directly to the array. The array will change depending on the users choice in the first combo box. e.g. Dept the the array is only those sections in the Dept.

Thanks for the idea,

Larry
US EPA
Region 6 - Dallas, Tx
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform