Thou shall not gore our sacred cow [VFP] by mentioning VB or Delphi. :)
Unless the bound column is 1, your Value and DisplayValue can be 2 different values. If your bound column is numeric, you need to make sure the BoundTo property is set to TRUE.
You might also need a DoDefault() at the beginning of your method code. If none of this helps, try posting your method code.
>I have finally narrowed down a bug to a few lines of code. It turns out that code I'm running inside of ComboBox.InteractiveChange() isn't sending the correct values. It's sending values from before the change, not after the change.
>
>If I put a "Set Step On" in the code, then it would send the correct value. I'm assuming because the change made to the combobox finally kicked in. It's disappointing that the code works with a set step on, but doesn't work without it.
>
>I hate to bring up Visual Basic or Delphi in a forum like this, but I usually use a OnAfterChange() method to do this type of coding. But in Visual Fox Pro, the only choice seemed to be InteractiveChange(). Can anyone think of how I can send the changed values of a combobox when a user makes the change?
>
>Thanks,
>Dustin Cote
Mark McCasland
Midlothian, TX USA