Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box again......
Message
From
19/11/1996 09:30:45
 
 
To
19/11/1996 09:22:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00012708
Message ID:
00012745
Views:
33
>Nick,
>
>I'm not sure what you mean. I have placed in the DisplayValue the appropriate notation (according to the book) that is suppose to display the value. I've looked through several books and in the MS KB and tried their solutions. This includes access the array. None are working. I came across something last night on the Net that I'm going to try.
>
>Anyways I thought I heard something about arrays and combo boxes at Devcon. I believe it was in Granor's session. I was hoping someone might remember and enlighten me.
>
>Thanks for your help
>Larry

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]
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform