AFAIK (complex issue),
- What you type goes into .DisplayValue
- .Refresh() sets .Value (and .DisplayValue obviously) and .Text from .ControlSource
- Whenever .Valid() returns .T., .Value is stored into (.ControlSource)
you could try
procedure Valid
.Value = .DisplayValue
>I have a combo box with a control source of mcheck_intim, a memory variable, not a table field. The 6 columns of the box
>are pulled from an sql statement where the first field is check_intim. If I select a record, all works fine. But if I just type in
>a value it reverts to blank as soon as I execute a thisform.refresh command.
>
>I'm sure I have a properties field incorrectly set, but I can't find it. Any help would be
>appreciated.
>
>Brad
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)