This one is really strange.
I have a form that fires up a modal form. The latter has a combolist (named custlist) whose rowsource is a SQL statement:
select sortname,mcode from customer order by sortname into cursor custcur
sortname is an abbreviated version of the customer's name and mcode is a numeric customer ID. BoundTo=T and BoundColumn=2.
This results in a control that displays the customer's abbreviated name but sends the numeric ID to custlist.value
Pretty straigtforward stuff.
Here's the weird thing.
If I run the top level form directly, from the development window, custlist.value takes on numeric values, as intended.
But if I fire up my full app from the development window (do main.prg) and then get to the same modal form with a sequence of menu and control choices, custlist.value takes on character values. (Same digits...but it's the character string version, not numeric).
This seems like a bug, but I sure am hoping it's just some stupid thing I'm doing that someone out there might recognize.
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum